XmlTextReader::GetAttribute Method
.NET Framework (current version)
Gets the value of an attribute.
Assembly: System.Xml (in System.Xml.dll)
| Name | Description | |
|---|---|---|
![]() | GetAttribute(Int32) | Gets the value of the attribute with the specified index.(Overrides XmlReader::GetAttribute(Int32).) |
![]() | GetAttribute(String^) | Gets the value of the attribute with the specified name.(Overrides XmlReader::GetAttribute(String^).) |
![]() | GetAttribute(String^, String^) | Gets the value of the attribute with the specified local name and namespace URI.(Overrides XmlReader::GetAttribute(String^, String^).) |
Note |
|---|
Starting with the .NET Framework 2.0, we recommend that you create XmlReader instances by using the XmlReader::Create method to take advantage of new functionality. |
Show:

