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

Initializes a new instance of the Currency class.

Overload List

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

[Visual Basic] Overloads Public Sub New(Integer)
[C#] public Currency(int);
[C++] public: Currency(int);
[JScript] public function Currency(int);

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

[Visual Basic] Overloads Public Sub New(UInt32)
[C#] public Currency(uint);
[C++] public: Currency(unsigned int);
[JScript] public function Currency(UInt32);

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

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

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

[Visual Basic] Overloads Public Sub New(UInt64)
[C#] public Currency(ulong);
[C++] public: Currency(unsigned __int64);
[JScript] public function Currency(UInt64);

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

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

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

[Visual Basic] Overloads Public Sub New(Double)
[C#] public Currency(double);
[C++] public: Currency(double);
[JScript] public function Currency(double);

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

[Visual Basic] Overloads Public Sub New(Decimal)
[C#] public Currency(Decimal);
[C++] public: Currency(Decimal);
[JScript] public function Currency(Decimal);

See Also

Currency Structure | Currency Members | System Namespace