NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BinaryReader.ReadSingle

Reads a Single (a 4-byte floating point value) from the current stream and advances the current position of the stream by 4 bytes.

[Visual Basic]
Overridable Public Function ReadSingle() As Single
[C#]
public virtual float ReadSingle();
[C++]
public: virtual float ReadSingle();
[JScript]
public function ReadSingle() : float;

Return Value

A Single read from the current stream.

Exceptions

Exception Type Condition
EndOfStreamException The end of the stream has been reached.
IOException An I/O error occurs.

See Also

BinaryReader Class | BinaryReader Members | System.IO Namespace