XmlReader.GetAttribute Method (String)
When overridden in a derived class, gets the value of the attribute with the specified Name.
Assembly: System.Xml (in System.Xml.dll)
- Type: System.String
The qualified name of the attribute.
Return ValueType: System.String
The value of the specified attribute. If the attribute is not found or the value is String.Empty, a null reference (Nothing in Visual Basic) is returned.
name is a null reference (Nothing in Visual Basic).
An XmlReader method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message “An asynchronous operation is already in progress.”