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!

BinaryWriter.WriteString

Writes a length-prefixed string to this stream in the BinaryWriter's current Encoding and advances the current position of the stream in accordance with the Encoding used and perhaps the particular characters being written to the stream.

[Visual Basic]
Overridable Public Sub WriteString( _
   ByVal value As String _
)
[C#]
public virtual void WriteString(
   string value
);
[C++]
public: virtual void WriteString(
   String* value
);
[JScript]
public function WriteString(
   value : String
);

Parameters

value
The value to write.

Exceptions

Exception Type Condition
IOException An I/O error occurs.
ArgumentNullException value is a null reference (in Visual Basic Nothing).

See Also

BinaryWriter Class | BinaryWriter Members | System.IO Namespace