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


IXMLAttributes.AddAttribute Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLAttributes Interface > IXMLAttributes.AddAttribute Method
ArcGIS Developer Help

IXMLAttributes.AddAttribute Method

Adds an attribute to the element.

[Visual Basic .NET]
Public Sub AddAttribute ( _
    ByVal LocalName As String, _
    ByVal NamespaceURI As String, _
    ByVal Value As String _
)
[C#]
public void AddAttribute (
    string LocalName,
    string NamespaceURI,
    string Value
);
[C++]
HRESULT AddAttribute(
  BSTR LocalName,
  BSTR NamespaceURI,
  BSTR Value
);
[C++]
Parameters
LocalName [in]

LocalName is a parameter of type BSTR NamespaceURI [in]
NamespaceURI is a parameter of type BSTR Value [in]
Value is a parameter of type BSTR

Product Availability

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

See Also

IXMLAttributes Interface