Console::Write Method (array<Char>^, Int32, Int32)
Writes the specified subarray of Unicode characters to the standard output stream.
Assembly: mscorlib (in mscorlib.dll)
public: [HostProtectionAttribute(SecurityAction::LinkDemand, UI = true)] static void Write( 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 modifying safe top-level windows and subwindows. Associated enumeration: UIPermissionWindow::SafeTopLevelWindows
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0