System::Xml::XmlReader::get_HasValue 方法

XmlReader::get_HasValue method

当在派生类中被重写时,获取一个值,指示当前节点是否可以拥有 XmlReader::get_Value 值。

virtual bool System::Xml::XmlReader::get_HasValue()

ReturnValue

true if the node on which the reader is currently positioned can have a Value; otherwise, false. If false, the node has a value of String::Empty.

另见