System::Xml::XmlNode::get_LocalName 方法

XmlNode::get_LocalName method

在派生类中重写时,返回节点的本地名称。

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

ReturnValue

去除前缀后的节点名称。例如,元素 bk:bookLocalNamebook

备注

返回的名称取决于节点的 XmlNode::get_NodeType
Type名称
Attribute属性的本地名称。
CDATA#cdata-section
Comment#comment
Document#document
DocumentFragment#document-fragment
DocumentType文档类型的名称。
Element元素的本地名称。
Entity实体的名称。
EntityReference被引用实体的名称。
Notation标记名称。
ProcessingInstruction处理指令的目标。
Text#text
Whitespace#whitespace
SignificantWhitespace#significant-whitespace
XmlDeclaration#xml-declaration

另见