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".
例外
该属性设置为 null
。The property is being set to null
.
设置了该属性,但 NumberFormatInfo 对象为只读。The property is being set and the NumberFormatInfo object is read-only.
注解
有关正无穷的详细信息,请参阅 Double 或 Single 。For more information on positive infinity, see Double or Single.