This document is archived and information here might be outdated.  Recommended version.


IXmlPropertySet.InitExisting Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IX > IXmlPropertySet Interface > IXmlPropertySet.InitExisting Method
ArcGIS Developer Help

IXmlPropertySet.InitExisting Method

Initializes an XmlPropertySet and adds the Esri group of elements.

[Visual Basic .NET]
Public Sub InitExisting ( _
)
[C#]
public void InitExisting (
);
[C++]
HRESULT InitExisting(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The InitExisting method can be used to add ESRI elements MetaID, CreaDate, CreaTime, and SyncOnce to existing non-ESRI metadata and XML documents.  XML documents created outside ArcCatalog won't ever have these elements, unless you call the InitExisting method.

Upon synchronization, SyncOnce is replaced with SyncDate and SyncTime. Automatic updates and other editing operations in the user interface, or programmatic updates through the IXmlPropertySetEdit::SetProperty, will add ModDate and ModTime.

Anytime ArcGIS creates metadata, automatic or not, theses ESRI elements will be added.

See Also

IXmlPropertySet Interface