Size.IFormattable.ToString(String, IFormatProvider) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此類型或成員支援 Windows Presentation Foundation(WPF)基礎架構,並非直接從您的程式碼中使用。
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
使用哪個服務提供者來格式化這個數值。
傳回
目前實例在指定格式下的值。