Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StringBuilder.AppendFormat Method

Appends a formatted string, which contains zero or more format specifications, to this instance. Each format specification is replaced by the string representation of a corresponding object argument.

Overload List

Appends a formatted string, which contains zero or more format specifications, to this instance. Each format specification is replaced by the string representation of a corresponding object argument.

[Visual Basic] Overloads Public Function AppendFormat(String, Object) As StringBuilder
[C#] public StringBuilder AppendFormat(string, object);
[C++] public: StringBuilder* AppendFormat(String*, Object*);
[JScript] public function AppendFormat(String, Object) : StringBuilder;

Appends a formatted string, which contains zero or more format specifications, to this instance. Each format specification is replaced by the string representation of a corresponding object argument.

[Visual Basic] Overloads Public Function AppendFormat(String, ParamArray Object()) As StringBuilder
[C#] public StringBuilder AppendFormat(string, params object[]);
[C++] public: StringBuilder* AppendFormat(String*, Object[]);
[JScript] public function AppendFormat(String, Object[]) : StringBuilder;

Appends a formatted string, which contains zero or more format specifications, to this instance. Each format specification is replaced by the string representation of a corresponding object argument.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Function AppendFormat(IFormatProvider, String, ParamArray Object()) As StringBuilder
[C#] public StringBuilder AppendFormat(IFormatProvider, string, params object[]);
[C++] public: StringBuilder* AppendFormat(IFormatProvider*, String*, Object[]);
[JScript] public function AppendFormat(IFormatProvider, String, Object[]) : StringBuilder;

Appends a formatted string, which contains zero or more format specifications, to this instance. Each format specification is replaced by the string representation of a corresponding object argument.

[Visual Basic] Overloads Public Function AppendFormat(String, Object, Object) As StringBuilder
[C#] public StringBuilder AppendFormat(string, object, object);
[C++] public: StringBuilder* AppendFormat(String*, Object*, Object*);
[JScript] public function AppendFormat(String, Object, Object) : StringBuilder;

Appends a formatted string, which contains zero or more format specifications, to this instance. Each format specification is replaced by the string representation of a corresponding object argument.

[Visual Basic] Overloads Public Function AppendFormat(String, Object, Object, Object) As StringBuilder
[C#] public StringBuilder AppendFormat(string, object, object, object);
[C++] public: StringBuilder* AppendFormat(String*, Object*, Object*, Object*);
[JScript] public function AppendFormat(String, Object, Object, Object) : StringBuilder;

See Also

StringBuilder Class | StringBuilder Members | System.Text Namespace

Show:
© 2017 Microsoft