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


IXmlPropertySet2.SetAttribute 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.SetAttribute Method
ArcGIS Developer Help

IXmlPropertySet2.SetAttribute Method

Sets the attribute of the specified element.

[Visual Basic .NET]
Public Sub SetAttribute ( _
    ByVal Name As String, _
    ByVal Attribute As String, _
    ByVal Value As Object, _
    ByVal action As esriXmlSetPropertyAction _
)
[C#]
public void SetAttribute (
    string Name,
    string Attribute,
    object Value,
    esriXmlSetPropertyAction action
);
[C++]
HRESULT SetAttribute(
  BSTR Name,
  BSTR Attribute,
  VARIANT Value,
  esriXmlSetPropertyAction action
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR Attribute [in]
Attribute is a parameter of type BSTR Value [in]
Value is a parameter of type VARIANT action [in]
action is a parameter of type esriXmlSetPropertyAction

Product Availability

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

Remarks

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

See Also

IXmlPropertySet2 Interface