NumberFormatInfo.PositiveInfinitySymbol 屬性

定義

取得或設定代表正無限大的字串。Gets or sets the string that represents positive infinity.

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

屬性值

代表正無限大的字串。The string that represents positive infinity. InvariantInfo 的預設值為 "Infinity"。The default for InvariantInfo is "Infinity".

例外狀況

此屬性已設定為 nullThe property is being set to null.

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

備註

如需正無限大的詳細資訊,請參閱 DoubleSingleFor more information on positive infinity, see Double or Single.

適用於

另請參閱