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!

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

Writes a sub array of characters to Console.Out that is set to the system's standard output stream by default.

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

Parameters

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

Exceptions

Exception Type Condition
ArgumentException The buffer parameter is a null reference (in Visual Basic Nothing).

index or index + count is not a valid index of buffer.count is less than 0.

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

Console Class | Console Members | System Namespace | Console.Write Overload List