Export (0) Print
Expand All

NumberFormatInfo.PositiveInfinitySymbol Property

Gets or sets the string that represents positive infinity.

[Visual Basic]
Public Property PositiveInfinitySymbol As String
[C#]
public string PositiveInfinitySymbol {get; set;}
[C++]
public: __property String* get_PositiveInfinitySymbol();
public: __property void set_PositiveInfinitySymbol(String*);
[JScript]
public function get PositiveInfinitySymbol() : String;
public function set PositiveInfinitySymbol(String);

Property Value

The string that represents positive infinity. The default for InvariantInfo is "Infinity".

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.

Remarks

For more information on positive infinity, see Double or Single.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

NumberFormatInfo Class | NumberFormatInfo Members | System.Globalization Namespace | NegativeInfinitySymbol

Show:
© 2014 Microsoft