| Noemax.FastInfoset Namespace > XmlFastInfosetReader Class > ReadElementContentAsDouble Method : ReadElementContentAsDouble() Method |
'Declaration Public Overloads Overrides NotOverridable Function ReadElementContentAsDouble() As System.Double
'Usage Dim instance As XmlFastInfosetReader Dim value As System.Double value = instance.ReadElementContentAsDouble()
public override System.double ReadElementContentAsDouble()
public function ReadElementContentAsDouble(): System.Double; override;
public override function ReadElementContentAsDouble() : System.double;
public: System.double ReadElementContentAsDouble(); override
public: System.double ReadElementContentAsDouble(); override
This method reads the start tag, the content of the element, and moves the reader past the end element tag. It expands entities and ignores processing instructions and comments. The element can only contain simple content. That is, it cannot have child elements.
If the content is a binary encoded double-precision floating-point number, the reader returns the value read. If the content is of any other type, the reader attempts to convert it to a double-precision floating-point number.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
XmlFastInfosetReader Class
XmlFastInfosetReader Members
Overload List
Base Implementation in ReadElementContentAsDouble()