TextWriter::Write Method (String, Object)
Silverlight
Writes out a formatted string, using the same semantics as String::Format.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Parameters
- format
- Type: System::String
The formatting string.
- arg0
- Type: System::Object
An object to write into the formatted string.
| Exception | Condition |
|---|---|
| ArgumentNullException | format is nullptr. |
| ObjectDisposedException | The TextWriter is closed. |
| IOException | An I/O error occurs. |
| FormatException | The format specification in format is invalid. -or- The number indicating an argument to be formatted is less than zero, or larger than or equal to the number of provided objects to be formatted. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show: