Mono Class Library: System.Xml.XmlTextReader Overview | MembersSystem.Xml.XmlTextReader.Name Property |
Gets the qualified name of the current node. [Edit]
|
A string containing the qualified name of the current node or, for node types that do not have a name (like Text, Comment , and so on), string.Empty. [Edit]
This property is read-only.
The name returned is dependent on the XmlTextReader.NodeType of the node. The following node types return the listed values. All other node types return an empty string.
Node Type Name Attribute The name of the attribute. DocumentType The document type name. Element The tag name. EntityReference The name of the entity referenced. ProcessingInstruction The target of the processing instruction. XmlDeclaration The literal string "xml". Note:[Edit]The qualified name is equivalent to the XmlTextReader.LocalName prefixed with XmlTextReader.Prefix and the ':' character. For example, XmlTextReader.Name is "bk:book" for the element <bk:book>.
This property overrides XmlReader.Name.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0