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


IXmlPropertySet.DeleteProperty 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.DeleteProperty Method
ArcGIS Developer Help

IXmlPropertySet.DeleteProperty Method

Deletes the specified elements.

[Visual Basic .NET]
Public Sub DeleteProperty ( _
    ByVal Name As String _
)
[C#]
public void DeleteProperty (
    string Name
);
[C++]
HRESULT DeleteProperty(
  BSTR Name
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR

Product Availability

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

Description

The DeleteProperty method removes the specified XML element(s) within an XML document, including all elements contained by the specified elements.

Remarks

The Name parameter uses XPath to describe the location and condition of XML nodes in metadata. XPath includes a set of expressions, allowing for more defined queries and filters. More information on XPath can be found in the IXmlPropertySet documentation.

See Also

IXmlPropertySet Interface