asp.net.ph

NumberFormatInfo.NegativeSign Property

System.Globalization Namespace   NumberFormatInfo Class


Sets or retrieves the string that denotes that the associated number is negative.

[ VB ]
public Property NegativeSign As String

[ C# ]
public string NegativeSign {get; set;}

[ C++ ]
public: __property String* get_NegativeSign ( );
public: __property void set_NegativeSign ( String* );

[ JScript ]
function get NegativeSign ( ) : String;
public function set NegativeSign ( String );

Property Value

The string that denotes that the associated number is negative. The default for InvariantInfo is "-".

Exceptions


Exception Type Condition
ArgumentNullException The property is being set to a null reference ( Nothing in Visual Basic ).
InvalidOperationException The property is being set and the NumberFormatInfo is read-only.

See Also

NumberFormatInfo Members   PositiveSign Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph