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

XmlNode::get_LocalName method

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

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

ReturnValue

删除前缀后的节点名称。例如,LocalName 对于元素 bk:bookbook

备注

返回的名称取决于节点的 XmlNode::get_NodeType
类型名称
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

另见