NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNavigator.GetAttribute (Int32)

Gets the value of the attribute with the specified index.

[Visual Basic]
Overloads MustOverride Public Function GetAttribute( _
   ByVal i As Integer _
) As String
[C#]
public abstract string GetAttribute(
   int i
);
[C++]
public: virtual String* GetAttribute(
   int i
) = 0;
[JScript]
public abstract function GetAttribute(
   i : int
) : String;

Parameters

i
The index of the attribute. The index is zero-based (first attribute has index 0).

Return Value

The value of the specified attribute.

Exceptions

Exception Type Condition
IndexOutOfRangeException The i parameter is less than 0 or greater than or equal to AttributeCount.

See Also

XmlNavigator Class | XmlNavigator Members | System.NewXml Namespace | XmlNavigator.GetAttribute Overload List