NumberFormatInfo.PerMilleSymbol 属性

定义

获取或设置用作千分比符号的字符串。Gets or sets the string to use as the per mille symbol.

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

属性值

用作千分比符号的字符串。The string to use as the per mille symbol. InvariantInfo 默认为“‰”,它是 Unicode 字符 U+2030。The default for InvariantInfo is "‰", which is the Unicode character U+2030.

异常

该属性设置为 nullThe property is being set to null.

设置了该属性,但 NumberFormatInfo 对象为只读。The property is being set and the NumberFormatInfo object is read-only.

注解

当使用包含 "‰ PerMilleSymbol " 的格式字符串设置数值的格式时,分配给属性的字符串将包含在结果字符串中。The string assigned to the PerMilleSymbol property is included in the result string when a numeric value is formatted with a format string that includes the "‰" .

适用于

另请参阅