This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLAttributes Interface > IXMLAttributes.AddAttribute Method (ArcObjects .NET 10.5 SDK) |
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