System::Xml::XmlValidatingReader::get_Name method

XmlValidatingReader::get_Name method

Returns the qualified name of the current node.

String System::Xml::XmlValidatingReader::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 XmlValidatingReader::NodeType 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