Noemax FastInfoset.NET Report an issue | Discuss in forums
XmlFastInfosetReader.ReadContentAsDouble() Method
See Also 
Noemax.FastInfoset Assembly > Noemax.FastInfoset Namespace > XmlFastInfosetReader Class : ReadContentAsDouble Method



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


Namespace: Noemax.FastInfoset
Assembly: Noemax.FastInfoset (in Noemax.FastInfoset.dll)

Syntax

Visual Basic (Declaration) 
Overrides Public 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()
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.

Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

XmlFastInfosetReader Class
XmlFastInfosetReader Members
Base Implementation in System.Xml.XmlReader