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.ReadString

Reads a String from the current stream. The String is prefixed with the length, encoded as an integer 7 bits at a time.

[Visual Basic]
Overridable Public Function ReadString() As String
[C#]
public virtual string ReadString();
[C++]
public: virtual String* ReadString();
[JScript]
public function ReadString() : String;

Return Value

A String.

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