NumberFormatInfo.DigitSubstitution 屬性

定義

取得或設定數值,指定圖形使用者介面顯示數字圖案的方式。

public:
 property System::Globalization::DigitShapes DigitSubstitution { System::Globalization::DigitShapes get(); void set(System::Globalization::DigitShapes value); };
public System.Globalization.DigitShapes DigitSubstitution { get; set; }
[System.Runtime.InteropServices.ComVisible(false)]
public System.Globalization.DigitShapes DigitSubstitution { get; set; }
member this.DigitSubstitution : System.Globalization.DigitShapes with get, set
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.DigitSubstitution : System.Globalization.DigitShapes with get, set
Public Property DigitSubstitution As DigitShapes

屬性值

DigitShapes

列舉值之一,指定文化特性特定的數字形狀。

屬性

例外狀況

目前的 NumberFormatInfo 物件是唯讀的。

設定作業中的值不是有效的 DigitShapes 值。

備註

重要

DigitSubstitution 屬性保留供未來使用。 目前物件的剖析或格式化作業中,目前不會使用它 NumberFormatInfo

適用於