ArcObjects Library Reference (GeoDatabase)  

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