NumberFormatInfo.NaNSymbol NumberFormatInfo.NaNSymbol NumberFormatInfo.NaNSymbol NumberFormatInfo.NaNSymbol Property

定義

取得或設定代表 IEEE NaN (Not a Number) 值的字串。Gets or sets the string that represents the IEEE NaN (not a number) value.

public:
 property System::String ^ NaNSymbol { System::String ^ get(); void set(System::String ^ value); };
public string NaNSymbol { get; set; }
member this.NaNSymbol : string with get, set
Public Property NaNSymbol As String

屬性值

代表 IEEE NaN (Not a Number) 值的字串。The string that represents the IEEE NaN (not a number) value. InvariantInfo 的預設值為 "NaN"。The default for InvariantInfo is "NaN".

例外狀況

正在將屬性設定為 nullThe property is being set to null.

正在設定屬性,而且 NumberFormatInfo 物件為唯讀。The property is being set and the NumberFormatInfo object is read-only.

備註

如需有關 NaN 值的詳細資訊,請參閱DoubleSingleFor more information on NaN values, see Double or Single.

適用於

另請參閱