StreamWriter: WriteValue |
Writes the encoded string representation of the value to the stream.
Public Sub WriteValue( ByRef Value As Variant, ParamArray Args ( ) As Variant )
The Args are used when argument indexes are supplied in the value to be written. Indexes are indicated by enclosing the specific index in curly braces {}. The indexes start at 0.
Exception | Condition |
---|---|
ObjectDisposedException | The writer is closed. |
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. |