Noemax FastInfoset.NET
ReadContentAsDouble Method
See Also  Send Feedback
Noemax.FastInfoset Namespace > XmlFastInfosetReader Class : ReadContentAsDouble Method






Reads the content at the current position as a double-precision floating-point number.

Syntax

Visual Basic (Declaration) 
Public Overrides NotOverridable Function ReadContentAsDouble() As Double
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetReader
Dim value As Double
 
value = instance.ReadContentAsDouble()
C# 
public override double ReadContentAsDouble()
Delphi 
public function ReadContentAsDouble(): Double; override; 
JScript 
public override function ReadContentAsDouble() : double;
Managed Extensions for C++ 
public: double ReadContentAsDouble(); override 
C++/CLI 
public:
double ReadContentAsDouble(); override 

Return Value

The content as a double-precision floating-point number.

Remarks

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.

See Also