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.Write (String)

Writes a string to the text stream 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]
Overloads Public Sub Write( _
   ByVal value As String _
)
[C#]
public void Write(
   string value
);
[C++]
public: void Write(
   String* value
);
[JScript]
public function Write(
   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).

Remarks

If the specified string is a null reference (Nothing), nothing is written to the text stream.

See Also

BinaryWriter Class | BinaryWriter Members | System.IO Namespace | BinaryWriter.Write Overload List