System::Xml::XmlReader::ReadElementContentAsBoolean 方法

XmlReader::ReadElementContentAsBoolean() method

读取当前元素并将其内容返回为 Boolean 对象。

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

ReturnValue

元素内容作为 Boolean 对象。

另见

XmlReader::ReadElementContentAsBoolean(String, String) method

检查指定的本地名称和命名空间 URI 是否与当前元素匹配,然后读取当前元素并将其内容返回为 Boolean 对象。

virtual bool System::Xml::XmlReader::ReadElementContentAsBoolean(String localName, String namespaceURI)
ParameterType描述
localName字符串元素的本地名称。
namespaceURI字符串元素的命名空间 URI。

ReturnValue

元素内容作为 Boolean 对象。

另见