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


IXMLAttributes.FindAttribute Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IXMLAttributes.FindAttribute Method

Finds an attribute by name and namespace.

[Visual Basic .NET]
Public Function FindAttribute ( _
    ByVal LocalName As String, _
    ByVal NamespaceURI As String _
) As Integer
[C#]
public int FindAttribute (
    string LocalName,
    string NamespaceURI
);
[C++]
HRESULT FindAttribute(
  BSTR LocalName,
  BSTR NamespaceURI,
  long* index
);
[C++]

Parameters LocalName [in] LocalName is a parameter of type BSTR NamespaceURI [in] NamespaceURI is a parameter of type BSTR index [out, retval] index is a parameter of type long

Product Availability

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

See Also

IXMLAttributes Interface