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!

TextWriter.Write (Char[], Int32, Int32)

Writes a subarray of characters to the text stream.

[Visual Basic]
Overloads Overridable Public Sub Write( _
   ByVal buffer() As Char, _
   ByVal index As Integer, _
   ByVal count As Integer _
)
[C#]
public virtual void Write(
   char[] buffer,
   int index,
   int count
);
[C++]
public: virtual void Write(
   __wchar_t* buffer[],
   int index,
   int count
);
[JScript]
public function Write(
   buffer : Char[],
   index : int,
   count : int
);

Parameters

buffer
The character array to write data from.
index
Starting index in the buffer.
count
The number of characters to write.

Exceptions

Exception Type Condition
ArgumentNullException buffer is a null reference (in Visual Basic Nothing).
ArgumentException The buffer length minus index is less than count.
ArgumentOutOfRangeException index or count is negative.
IOException An I/O error occurs.

Remarks

This method will write count characters of data into this writer from the buffer character array starting at position index.

See Also

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