This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IX > IXmlPropertySet2 Interface > IXmlPropertySet2.SetAttribute Method (ArcObjects .NET 10.4 SDK) |
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
Documentation for this property can be found at the IXmlPropertySet::SetAttribute description.