System::Xml::XmlReader::ReadElementContentAsDecimal 方法

XmlReader::ReadElementContentAsDecimal() method

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

virtual Decimal System::Xml::XmlReader::ReadElementContentAsDecimal()

ReturnValue

元素内容作为 Decimal 对象。

另见

XmlReader::ReadElementContentAsDecimal(String, String) method

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

virtual Decimal System::Xml::XmlReader::ReadElementContentAsDecimal(String localName, String namespaceURI)
参数类型描述
localNameString元素的本地名称。
namespaceURIString元素的命名空间 URI。

ReturnValue

元素内容作为 Decimal 对象。

另见