Format
Replaces the format items in the specified format string with the string representation or the corresponding object.
読み終わるまでの所要時間 2 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.SmartStrings
- Assembly: UnityEngine.SmartStringsModule
Format(string, Object[])
Replaces the format items in the specified format string with the string representation or the corresponding object.
public static string Format(string format, params object[] args)
Parameters
Returns
Type | Description |
|---|---|
| string | The format items in the specified format string replaced with the string representation or the corresponding object. |
Remarks
Format(IFormatProvider, string, Object[])
Replaces the format items in the specified format string with the string representation or the corresponding object.
public static string Format(IFormatProvider provider, string format, params object[] args)
Parameters
The IFormatProvider to use.
A composite format string.
The objects to format.
Returns
Type | Description |
|---|---|
| string | The format items in the specified format string replaced with the string representation or the corresponding object. |
Remarks
Format(string, Object, Object, Object)
Replaces the format items in the specified format string with the string representation or the corresponding object.
public static string Format(string format, object arg0, object arg1, object arg2)
Parameters
Returns
Type | Description |
|---|---|
| string | The format items in the specified format string replaced with the string representation or the corresponding object. |
Remarks
Format(string, Object, Object)
Replaces the format items in the specified format string with the string representation or the corresponding object.
public static string Format(string format, object arg0, object arg1)
Parameters
Returns
Type | Description |
|---|---|
| string | The format items in the specified format string replaced with the string representation or the corresponding object. |
Remarks
Format(string, Object)
Replaces the format items in the specified format string with the string representation or the corresponding object.
public static string Format(string format, object arg0)
Parameters
Returns
Type | Description |
|---|---|
| string | The format items in the specified format string replaced with the string representation or the corresponding object. |