System::Xml::XmlReader::get_IsEmptyElement 方法

XmlReader::get_IsEmptyElement method

当在派生类中被重写时,获取一个值,指示当前节点是否为空元素(例如,)。

virtual bool System::Xml::XmlReader::get_IsEmptyElement()=0

ReturnValue

true if the current node is an element (XmlReader::get_NodeType equals XmlNodeType::Element) that ends with />; otherwise, false.

另见