ArcObjects Library Reference (GeoDatabase)  

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