This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IX > IXmlPropertySet Interface > IXmlPropertySet.InitExisting Method (ArcObjects .NET 10.4 SDK) |
Initializes an XmlPropertySet and adds the Esri group of elements.
[Visual Basic .NET]
Public Sub InitExisting ( _
)
[C#] public void InitExisting ( );
[C++]
HRESULT InitExisting(
void
);
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.