ArcObjects Library Reference (GeoDatabase)  

IXmlPropertySet2.SetXml Method

Replaces existing metadata with the content defined in the XML.

[Visual Basic .NET]
Public Sub SetXml ( _
    ByVal xml As String _
)
[C#]
public void SetXml (
    string xml
);
[C++]
HRESULT SetXml(
  BSTR xml
);
[C++]

Parameters

xml [in]   xml is a parameter of type BSTR

Product Availability

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

Remarks

The SetXML method replaces the entire metadata document with the Xml string supplied in the XML parameter.

To target specific XML elements, the SetPropertyX method should be used.

 

See Also

IXmlPropertySet2 Interface