Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

FixedStringMethods.AppendFormat

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static FormatError AppendFormat(ref T dest, ref U format, ref T0 arg0);

Parameters

Parameter Description
dest The string to append to.
format A string to be interpolated and appended.
arg0 A FixedString"N"Bytes to interpolate into the format string.

Returns

FormatError FormatError.None if successful. Otherwise returns the appropriate FormatError.

Description

Interpolates strings into a format string and appends the result to this string.

Similar to StringBuilder.AppendFormat but with significant limitations: - Only supports FixedString"N"Bytes arguments. To use other string types, convert them to FixedString"N"Bytes first.
- Only supports numeric format placeholders of the form {0} .. {N}.
- No format modifiers ("e.g." {0:x}) are supported.


The overloads of this method take up to ten strings to interpolate into the format string.


Declaration

public static FormatError AppendFormat(ref T dest, ref U format, ref T0 arg0, ref T1 arg1);

Parameters

Parameter Description
dest The string to append to.
format A string to be interpolated and appended.
arg0 A FixedString"N"Bytes to interpolate into the format string.
arg1 A FixedString"N"Bytes to interpolate into the format string.

Returns

FormatError FormatError.None if successful. Otherwise returns the appropriate FormatError.

Description

Interpolates strings into a format string and appends the result to this string.

Similar to StringBuilder.AppendFormat but with significant limitations: - Only supports FixedString"N"Bytes arguments. To use other string types, convert them to FixedString"N"Bytes first.
- Only supports numeric format placeholders of the form {0} .. {N}.
- No format modifiers ("e.g." {0:x}) are supported.


The overloads of this method take up to ten strings to interpolate into the format string.


Declaration

public static FormatError AppendFormat(ref T dest, ref U format, ref T0 arg0, ref T1 arg1, ref T2 arg2);

Parameters

Parameter Description
dest The string to append to.
format A string to be interpolated and appended.
arg0 A FixedString"N"Bytes to interpolate into the format string.
arg1 A FixedString"N"Bytes to interpolate into the format string.
arg2 A FixedString"N"Bytes to interpolate into the format string.

Returns

FormatError FormatError.None if successful. Otherwise returns the appropriate FormatError.

Description

Interpolates strings into a format string and appends the result to this string.

Similar to StringBuilder.AppendFormat but with significant limitations: - Only supports FixedString"N"Bytes arguments. To use other string types, convert them to FixedString"N"Bytes first.
- Only supports numeric format placeholders of the form {0} .. {N}.
- No format modifiers ("e.g." {0:x}) are supported.


The overloads of this method take up to ten strings to interpolate into the format string.


Declaration

public static FormatError AppendFormat(ref T dest, ref U format, ref T0 arg0, ref T1 arg1, ref T2 arg2, ref T3 arg3);

Parameters

Parameter Description
dest The string to append to.
format A string to be interpolated and appended.
arg0 A FixedString"N"Bytes to interpolate into the format string.
arg1 A FixedString"N"Bytes to interpolate into the format string.
arg2 A FixedString"N"Bytes to interpolate into the format string.
arg3 A FixedString"N"Bytes to interpolate into the format string.

Returns

FormatError FormatError.None if successful. Otherwise returns the appropriate FormatError.

Description

Interpolates strings into a format string and appends the result to this string.

Similar to StringBuilder.AppendFormat but with significant limitations: - Only supports FixedString"N"Bytes arguments. To use other string types, convert them to FixedString"N"Bytes first.
- Only supports numeric format placeholders of the form {0} .. {N}.
- No format modifiers ("e.g." {0:x}) are supported.


The overloads of this method take up to ten strings to interpolate into the format string.


Declaration

public static FormatError AppendFormat(ref T dest, ref U format, ref T0 arg0, ref T1 arg1, ref T2 arg2, ref T3 arg3, ref T4 arg4);

Parameters

Parameter Description
dest The string to append to.
format A string to be interpolated and appended.
arg0 A FixedString"N"Bytes to interpolate into the format string.
arg1 A FixedString"N"Bytes to interpolate into the format string.
arg2 A FixedString"N"Bytes to interpolate into the format string.
arg3 A FixedString"N"Bytes to interpolate into the format string.
arg4 A FixedString"N"Bytes to interpolate into the format string.

Returns

FormatError FormatError.None if successful. Otherwise returns the appropriate FormatError.

Description

Interpolates strings into a format string and appends the result to this string.

Similar to StringBuilder.AppendFormat but with significant limitations: - Only supports FixedString"N"Bytes arguments. To use other string types, convert them to FixedString"N"Bytes first.
- Only supports numeric format placeholders of the form {0} .. {N}.
- No format modifiers ("e.g." {0:x}) are supported.


The overloads of this method take up to ten strings to interpolate into the format string.


Declaration

public static FormatError AppendFormat(ref T dest, ref U format, ref T0 arg0, ref T1 arg1, ref T2 arg2, ref T3 arg3, ref T4 arg4, ref T5 arg5);

Parameters

Parameter Description
dest The string to append to.
format A string to be interpolated and appended.
arg0 A FixedString"N"Bytes to interpolate into the format string.
arg1 A FixedString"N"Bytes to interpolate into the format string.
arg2 A FixedString"N"Bytes to interpolate into the format string.
arg3 A FixedString"N"Bytes to interpolate into the format string.
arg4 A FixedString"N"Bytes to interpolate into the format string.
arg5 A FixedString"N"Bytes to interpolate into the format string.

Returns

FormatError FormatError.None if successful. Otherwise returns the appropriate FormatError.

Description

Interpolates strings into a format string and appends the result to this string.

Similar to StringBuilder.AppendFormat but with significant limitations: - Only supports FixedString"N"Bytes arguments. To use other string types, convert them to FixedString"N"Bytes first.
- Only supports numeric format placeholders of the form {0} .. {N}.
- No format modifiers ("e.g." {0:x}) are supported.


The overloads of this method take up to ten strings to interpolate into the format string.


Declaration

public static FormatError AppendFormat(ref T dest, ref U format, ref T0 arg0, ref T1 arg1, ref T2 arg2, ref T3 arg3, ref T4 arg4, ref T5 arg5, ref T6 arg6);

Parameters

Parameter Description
dest The string to append to.
format A string to be interpolated and appended.
arg0 A FixedString"N"Bytes to interpolate into the format string.
arg1 A FixedString"N"Bytes to interpolate into the format string.
arg2 A FixedString"N"Bytes to interpolate into the format string.
arg3 A FixedString"N"Bytes to interpolate into the format string.
arg4 A FixedString"N"Bytes to interpolate into the format string.
arg5 A FixedString"N"Bytes to interpolate into the format string.
arg6 A FixedString"N"Bytes to interpolate into the format string.

Returns

FormatError FormatError.None if successful. Otherwise returns the appropriate FormatError.

Description

Interpolates strings into a format string and appends the result to this string.

Similar to StringBuilder.AppendFormat but with significant limitations: - Only supports FixedString"N"Bytes arguments. To use other string types, convert them to FixedString"N"Bytes first.
- Only supports numeric format placeholders of the form {0} .. {N}.
- No format modifiers ("e.g." {0:x}) are supported.


The overloads of this method take up to ten strings to interpolate into the format string.


Declaration

public static FormatError AppendFormat(ref T dest, ref U format, ref T0 arg0, ref T1 arg1, ref T2 arg2, ref T3 arg3, ref T4 arg4, ref T5 arg5, ref T6 arg6, ref T7 arg7);

Parameters

Parameter Description
dest The string to append to.
format A string to be interpolated and appended.
arg0 A FixedString"N"Bytes to interpolate into the format string.
arg1 A FixedString"N"Bytes to interpolate into the format string.
arg2 A FixedString"N"Bytes to interpolate into the format string.
arg3 A FixedString"N"Bytes to interpolate into the format string.
arg4 A FixedString"N"Bytes to interpolate into the format string.
arg5 A FixedString"N"Bytes to interpolate into the format string.
arg6 A FixedString"N"Bytes to interpolate into the format string.
arg7 A FixedString"N"Bytes to interpolate into the format string.

Returns

FormatError FormatError.None if successful. Otherwise returns the appropriate FormatError.

Description

Interpolates strings into a format string and appends the result to this string.

Similar to StringBuilder.AppendFormat but with significant limitations: - Only supports FixedString"N"Bytes arguments. To use other string types, convert them to FixedString"N"Bytes first.
- Only supports numeric format placeholders of the form {0} .. {N}.
- No format modifiers ("e.g." {0:x}) are supported.


The overloads of this method take up to ten strings to interpolate into the format string.


Declaration

public static FormatError AppendFormat(ref T dest, ref U format, ref T0 arg0, ref T1 arg1, ref T2 arg2, ref T3 arg3, ref T4 arg4, ref T5 arg5, ref T6 arg6, ref T7 arg7, ref T8 arg8);

Parameters

Parameter Description
dest The string to append to.
format A string to be interpolated and appended.
arg0 A FixedString"N"Bytes to interpolate into the format string.
arg1 A FixedString"N"Bytes to interpolate into the format string.
arg2 A FixedString"N"Bytes to interpolate into the format string.
arg3 A FixedString"N"Bytes to interpolate into the format string.
arg4 A FixedString"N"Bytes to interpolate into the format string.
arg5 A FixedString"N"Bytes to interpolate into the format string.
arg6 A FixedString"N"Bytes to interpolate into the format string.
arg7 A FixedString"N"Bytes to interpolate into the format string.
arg8 A FixedString"N"Bytes to interpolate into the format string.

Returns

FormatError FormatError.None if successful. Otherwise returns the appropriate FormatError.

Description

Interpolates strings into a format string and appends the result to this string.

Similar to StringBuilder.AppendFormat but with significant limitations: - Only supports FixedString"N"Bytes arguments. To use other string types, convert them to FixedString"N"Bytes first.
- Only supports numeric format placeholders of the form {0} .. {N}.
- No format modifiers ("e.g." {0:x}) are supported.


The overloads of this method take up to ten strings to interpolate into the format string.


Declaration

public static FormatError AppendFormat(ref T dest, ref U format, ref T0 arg0, ref T1 arg1, ref T2 arg2, ref T3 arg3, ref T4 arg4, ref T5 arg5, ref T6 arg6, ref T7 arg7, ref T8 arg8, ref T9 arg9);

Parameters

Parameter Description
dest The string to append to.
format A string to be interpolated and appended.
arg0 A FixedString"N"Bytes to interpolate into the format string.
arg1 A FixedString"N"Bytes to interpolate into the format string.
arg2 A FixedString"N"Bytes to interpolate into the format string.
arg3 A FixedString"N"Bytes to interpolate into the format string.
arg4 A FixedString"N"Bytes to interpolate into the format string.
arg5 A FixedString"N"Bytes to interpolate into the format string.
arg6 A FixedString"N"Bytes to interpolate into the format string.
arg7 A FixedString"N"Bytes to interpolate into the format string.
arg8 A FixedString"N"Bytes to interpolate into the format string.
arg9 A FixedString"N"Bytes to interpolate into the format string.

Returns

FormatError FormatError.None if successful. Otherwise returns the appropriate FormatError.

Description

Interpolates strings into a format string and appends the result to this string.

Similar to StringBuilder.AppendFormat but with significant limitations: - Only supports FixedString"N"Bytes arguments. To use other string types, convert them to FixedString"N"Bytes first.
- Only supports numeric format placeholders of the form {0} .. {N}.
- No format modifiers ("e.g." {0:x}) are supported.


The overloads of this method take up to ten strings to interpolate into the format string.