System::Xml::XmlReader::get_Name method

XmlReader::get_Name method

When overridden in a derived class, gets the qualified name of the current node.

virtual String System::Xml::XmlReader::get_Name()

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 XmlReader::get_NodeType value of the node. The following node types return the listed values. All other node types return an empty string.
Node typeName
AttributeThe name of the attribute.
DocumentTypeThe document type name.
ElementThe tag name.
EntityReferenceThe name of the entity referenced.
ProcessingInstructionThe target of the processing instruction.
XmlDeclarationThe literal string xml.

See Also