This documentation is archived and is not being maintained.

SqlMoney Constructor

.NET Framework 1.1

Initializes a new instance of the SqlMoney structure.

Overload List

Initializes a new instance of the SqlMoney class with the specified Decimal value.

Supported by the .NET Compact Framework.

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

Initializes a new instance of the SqlMoney class with specified double value.

Supported by the .NET Compact Framework.

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

Initializes a new instance of the SqlMoney class with the specified integer value.

Supported by the .NET Compact Framework.

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

Initializes a new instance of the SqlMoney class with the specified long integer value.

Supported by the .NET Compact Framework.

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

See Also

SqlMoney Structure | SqlMoney Members | System.Data.SqlTypes Namespace

Show: