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 (Int64)

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

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

Parameters

value
The value to represent as a Currency.

Exceptions

Exception Type Condition
OverflowException is thrown if value is outside the Currency range.

Remarks

This constructor initializes a new instance of Currency to a __int64 or Long8 (long) value.

The Currency value range is positive 922,337,203,685,477.5807 to negative 922,337,203,685,477.5808.

See Also

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