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!

DocumentNavigator.GetAttribute (Int32)

Gets the value of the attribute with the specified index.

[Visual Basic]
Overloads Overrides Public Function GetAttribute( _
   ByVal i As Integer _
) As String
[C#]
public override string GetAttribute(
   int i
);
[C++]
public: override String* GetAttribute(
   int i
);
[JScript]
public override 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

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