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


IXmlPropertySet2.DeletePropertyByAttribute Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IX > IXmlPropertySet2 Interface > IXmlPropertySet2.DeletePropertyByAttribute Method
ArcGIS Developer Help

IXmlPropertySet2.DeletePropertyByAttribute Method

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 bool

Product Availability

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

Remarks

Documentation for this property can be found at the IXmlPropertySet::DeletePropertyByAttribute description.

See Also

IXmlPropertySet2 Interface