Char.IFormattable.ToString(String, IFormatProvider) メソッド

定義

指定された書式を使用して現在のインスタンスの値を書式設定します。

 virtual System::String ^ System.IFormattable.ToString(System::String ^ format, IFormatProvider ^ formatProvider) = IFormattable::ToString;
string IFormattable.ToString (string format, IFormatProvider formatProvider);
abstract member System.IFormattable.ToString : string * IFormatProvider -> string
override this.System.IFormattable.ToString : string * IFormatProvider -> string
Function ToString (format As String, formatProvider As IFormatProvider) As String Implements IFormattable.ToString

パラメーター

format
String

使用する書式。 または、 null Nothing 実装の型に対して定義されている既定の書式を使用する場合は、(Visual Basic の) 参照 IFormattable

formatProvider
IFormatProvider

値の書式設定に使用するプロバイダーです。 または、オペレーティング null システムの Nothing 現在のロケール設定から数値書式情報を取得する (Visual Basic) 参照。

戻り値

String

指定された書式の現在のインスタンスの値。

実装

適用対象