XmlTextReader.GetAttribute Method

 

Gets the value of an attribute.

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

NameDescription
System_CAPS_pubmethodGetAttribute(Int32)

Gets the value of the attribute with the specified index.(Overrides XmlReader.GetAttribute(Int32).)

System_CAPS_pubmethodGetAttribute(String)

Gets the value of the attribute with the specified name.(Overrides XmlReader.GetAttribute(String).)

System_CAPS_pubmethodGetAttribute(String, String)

Gets the value of the attribute with the specified local name and namespace URI.(Overrides XmlReader.GetAttribute(String, String).)

System_CAPS_noteNote

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.

Return to top
Show: