Appends a formatted string and the default line terminator, which contains zero or more format specifications, to this instance. Each format specification is replaced by the string representation of a corresponding object argument.
Namespace: System.Extensions.TextAssembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)
Syntax
C# |
---|
public static StringBuilder AppendFormatLine(
this StringBuilder builder,
string format,
Object arg0,
Object arg1
) |
Visual Basic |
---|
<ExtensionAttribute>
Public Shared Function AppendFormatLine (
builder As StringBuilder,
format As String,
arg0 As Object,
arg1 As Object
) As StringBuilder |
Visual C++ |
---|
public:
[ExtensionAttribute]
static StringBuilder^ AppendFormatLine(
StringBuilder^ builder,
String^ format,
Object^ arg0,
Object^ arg1
) |
F# |
---|
static member AppendFormatLine :
builder : StringBuilder *
format : string *
arg0 : Object *
arg1 : Object -> StringBuilder
|
Return Value
Type:
StringBuilderA reference to this instance with format appended. Any format specifications in format is replaced by the string representation of the corresponding object argument.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
StringBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions
See Also