FastInfoset.NET Class Reference for .NET
ReadContentAsFloat Method (XmlFastInfosetReader)






Reads the content at the current position as a single-precision floating point number.
Syntax
'Declaration
 
Public Overrides NotOverridable Function ReadContentAsFloat() As System.Single
'Usage
 
Dim instance As XmlFastInfosetReader
Dim value As System.Single
 
value = instance.ReadContentAsFloat()
public override System.float ReadContentAsFloat()
public function ReadContentAsFloat(): System.Single; override; 
public override function ReadContentAsFloat() : System.float;
public: System.float ReadContentAsFloat(); override 
public:
System.float ReadContentAsFloat(); override 

Return Value

The content as a single-precision floating-point number.
Remarks

If the content is a binary encoded single-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 single-precision floating-point number.

Requirements

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

See Also

Reference

XmlFastInfosetReader Class
XmlFastInfosetReader Members
Base Implementation in ReadContentAsFloat

Send Feedback