Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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)
Syntax
'Declaration
Public Overridable Function GetAttribute ( _
i As Integer _
) As String
public virtual string GetAttribute(
int i
)
public:
virtual String^ GetAttribute(
int i
)
abstract GetAttribute :
i:int -> string
override GetAttribute :
i:int -> string
public function GetAttribute(
i : int
) : String
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.