StringWriterWrite(String, Object) Method |
Writes out a formatted string, using the same semantics as System.String.Format(System.String,System.Object).
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic override void Write(
string format,
Object? arg0
)
Parameters
- format String
-
The formatting string.
- arg0 Object
-
An object to write into the formatted string.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException |
format is null.
|
| ObjectDisposedException |
The CrestronIO.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.
|
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also