Console::WriteLine Method (array<Char>^, Int32, Int32)
Writes the specified subarray of Unicode characters, followed by the current line terminator, to the standard output stream.
Assembly: mscorlib (in mscorlib.dll)
public: [HostProtectionAttribute(SecurityAction::LinkDemand, UI = true)] static void WriteLine( array<wchar_t>^ buffer, int index, int count )
Parameters
- buffer
-
Type:
array<System::Char>^
An array of Unicode characters.
- index
-
Type:
System::Int32
The starting position in buffer.
- count
-
Type:
System::Int32
The number of characters to write.
| Exception | Condition |
|---|---|
| ArgumentNullException | buffer is null. |
| ArgumentOutOfRangeException | index or count is less than zero. |
| ArgumentException | index plus count specify a position that is not within buffer. |
| IOException | An I/O error occurred. |
This method writes count characters starting at position index of buffer to the standard output stream.
For more information about the line terminator, see the Remarks section of the WriteLine method that takes no parameters.
for modifying safe top-level windows and subwindows. Associated enumeration: UIPermissionWindow::SafeTopLevelWindows
Available since 1.1