NumberFormatInfo.NegativeInfinitySymbol 属性
定义
获取或设置表示负无穷大的字符串。Gets or sets the string that represents negative infinity.
public:
property System::String ^ NegativeInfinitySymbol { System::String ^ get(); void set(System::String ^ value); };
public string NegativeInfinitySymbol { get; set; }
member this.NegativeInfinitySymbol : string with get, set
Public Property NegativeInfinitySymbol As String
属性值
表示负无穷大的字符串。The string that represents negative 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 negative infinity, see Double or Single.