DelegatingXmlReader.GetAttribute Method (int)DelegatingXmlReader.GetAttribute Method (Integer)DelegatingXmlReader::GetAttribute Method (int)

Returns the value of an attribute with the specified index.

Syntax

Public Overrides Function GetAttribute( _
    i As Integer _
) As String
public override string GetAttribute(
    int i
)
public:
virtual String^ GetAttribute(
    int i
) override
 

Parameters

i

Type: System.Int32System.Int32System::Int32

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

Return Value

Type: System.StringSystem.StringSystem::String^

The value of the specified attribute. This method does not move the reader.