This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IX > IXmlPropertySet Interface > IXmlPropertySet.DeleteProperty Method (ArcObjects .NET 10.4 SDK) |
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
The DeleteProperty method removes the specified XML element(s) within an XML document, including all elements contained by the specified elements.
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.