get_LocalName()

XmlNode::get_LocalName() method

Returns the local name of the node, when overridden in a derived class.

virtual String System::Xml::XmlNode::get_LocalName()=0

Return Value

The name of the node with the prefix removed. For example, LocalName is book for the element bk:book.

Remarks

The name returned is dependent on the XmlNode::get_NodeType of the node:

TypeName
AttributeThe local name of the attribute.
CDATA#cdata-section
Comment#comment
Document#document
DocumentFragment#document-fragment
DocumentTypeThe document type name.
ElementThe local name of the element.
EntityThe name of the entity.
EntityReferenceThe name of the entity referenced.
NotationThe notation name.
ProcessingInstructionThe target of the processing instruction.
Text#text
Whitespace#whitespace
SignificantWhitespace#significant-whitespace
XmlDeclaration#xml-declaration

See Also