Int32Rect.IFormattable.ToString(String, IFormatProvider) 方法

定義

使用指定的格式,格式化目前執行個體的值。

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

參數

format
String

要使用的格式。

provider
IFormatProvider

用於格式化值的提供者。

傳回

採用指定格式之目前執行個體的值。

實作

備註

這個成員是明確介面成員實作, 只有在 Int32Rect 執行個體轉換成 IFormattable 介面時,才能使用這個成員。

適用於