This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IX > IXmlPropertySet2 Interface > IXmlPropertySet2.DeletePropertyByAttribute Method (ArcObjects .NET 10.4 SDK) |
Deletes the elements which have the specified attribute value.
[Visual Basic .NET] Public Sub DeletePropertyByAttribute ( _ ByVal Attribute As String, _ ByVal Value As String, _ ByVal deleteParent As Boolean _ )
[C#] public void DeletePropertyByAttribute ( string Attribute, string Value, bool deleteParent );
[C++]
HRESULT DeletePropertyByAttribute(
BSTR Attribute,
BSTR Value,
VARIANT_BOOL deleteParent
);
[C++]
Parameters Attribute [in] Attribute is a parameter of type BSTR Value [in] Value is a parameter of type BSTR deleteParent [in] deleteParent is a parameter of type VARIANT_BOOL
Documentation for this property can be found at the IXmlPropertySet::DeletePropertyByAttribute description.