System::Xml::XmlTextReader::get_Name method
Contents
[
Hide
]XmlTextReader::get_Name method
Returns the qualified name of the current node.
String System::Xml::XmlTextReader::get_Name() override
ReturnValue
The qualified name of the current node. For example, Name is bk:book for the element bk:book.
Remarks
The name returned is dependent on the XmlTextReader::get_NodeType value 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. |
See Also
- Class String
- Class XmlTextReader
- Namespace System::Xml
- Library Aspose.PUB for C++