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!

Currency Constructor (Single)

Initializes a new instance of the Currency class to a value specified by a float.

[Visual Basic]
Overloads Public Sub New( _
   ByVal value As Single _
)
[C#]
public Currency(
   float value
);
[C++]
public: Currency(
   float value
);
[JScript]
public function Currency(
   value : float
);

Parameters

value
The value to represent as a Currency.

Exceptions

Exception Type Condition
OverflowException If the value is outside the Currency range, or if the value is infinity or not a number (NaN).

Remarks

Initializes a new instance of the Currency to a Single (float) value.

See Also

Currency Structure | Currency Members | System Namespace | Currency Constructor Overload List