Export (0) Print
Expand All

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:
© 2014 Microsoft