NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

NumberFormatInfo.PercentPositivePattern

Retrieves and assigns the format used for positive percent values.

[Visual Basic]
Public Property PercentPositivePattern As Integer
[C#]
public int PercentPositivePattern {get; set;}
[C++]
public: __property int get_PercentPositivePattern();
public: __property void set_PercentPositivePattern(int);
[JScript]
public function get PercentPositivePattern() : int;
public function set PercentPositivePattern(int);

Property Value

Read/write. The format used for positive values. The invariant default value is 0, which represents "1%".

Exceptions

Exception Type Condition
ArgumentException value to assign is < 0 or > 2.
InvalidOperationException This NumberFormatInfo object is read-only and an attempt is made to assign a value.

Remarks

Assignment is not allowed if this NumberFormatInfo object is read-only.

See Also

NumberFormatInfo Class | NumberFormatInfo Members | System.Globalization Namespace