GetAttribute Method (Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

When overridden in a derived class, gets the value of the attribute with the specified index.

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public virtual string GetAttribute(
	int i
)

Parameters

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

Return Value

Type: System..::..String
The value of the specified attribute. This method does not move the reader.

Show: