LineWrappingTextWriterForStringWriter Method (Int32, IFormatProvider) |
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntaxpublic static LineWrappingTextWriter ForStringWriter(
int maximumLineLength,
IFormatProvider formatProvider
)
Public Shared Function ForStringWriter (
maximumLineLength As Integer,
formatProvider As IFormatProvider
) As LineWrappingTextWriter
Dim maximumLineLength As Integer
Dim formatProvider As IFormatProvider
Dim returnValue As LineWrappingTextWriter
returnValue = LineWrappingTextWriter.ForStringWriter(maximumLineLength,
formatProvider)
public:
static LineWrappingTextWriter^ ForStringWriter(
int maximumLineLength,
IFormatProvider^ formatProvider
)
Parameters
- maximumLineLength
- Type: SystemInt32
The maximum length of a line, in characters. - formatProvider
- Type: SystemIFormatProvider
An IFormatProvider that controls formatting.
Return Value
Type:
LineWrappingTextWriterA
LineWrappingTextWriter that writes to a
StringWriter.
Remarks
See Also