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.

備註

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

適用於

另請參閱