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

定義

這個成員是 WPF) 基礎結構Windows Presentation Foundation (的一部分,不適合直接供程式碼使用。 如需這個成員的說明,請參閱 ToString(String, IFormatProvider)

C#
string IFormattable.ToString (string format, IFormatProvider provider);

參數

format
String

指定要使用之格式的字串。

-或- null,使用定義給 IFormattable 實作 (Implementation) 類型的預設格式。

provider
IFormatProvider

IFormatProvider,用來格式化數值。

-或- null,用來從作業系統的目前地區設定 (Locale) 取得數值格式資訊。

傳回

String

這個物件的字串表示。

實作

適用於

產品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8
Windows Desktop 3.0, 3.1, 5, 6, 7