SqlMoney SqlMoney SqlMoney SqlMoney Constructors

定义

重载

SqlMoney(Decimal) SqlMoney(Decimal) SqlMoney(Decimal) SqlMoney(Decimal)

使用指定的 Decimal 值初始化 SqlMoney 类的新实例。Initializes a new instance of the SqlMoney class with the specified Decimal value.

SqlMoney(Double) SqlMoney(Double) SqlMoney(Double) SqlMoney(Double)

使用指定的双精度型值初始化 SqlMoney 类的新实例。Initializes a new instance of the SqlMoney class with specified double value.

SqlMoney(Int32) SqlMoney(Int32) SqlMoney(Int32) SqlMoney(Int32)

用指定的整数值初始化 SqlMoney 类的新实例。Initializes a new instance of the SqlMoney class with the specified integer value.

SqlMoney(Int64) SqlMoney(Int64) SqlMoney(Int64) SqlMoney(Int64)

使用指定的长整型值初始化 SqlMoney 类的新实例。Initializes a new instance of the SqlMoney class with the specified long integer value.

SqlMoney(Decimal) SqlMoney(Decimal) SqlMoney(Decimal) SqlMoney(Decimal)

使用指定的 Decimal 值初始化 SqlMoney 类的新实例。Initializes a new instance of the SqlMoney class with the specified Decimal value.

public:
 SqlMoney(System::Decimal value);
public SqlMoney (decimal value);
new System.Data.SqlTypes.SqlMoney : decimal -> System.Data.SqlTypes.SqlMoney
Public Sub New (value As Decimal)

参数

value
Decimal Decimal Decimal Decimal

要初始化的货币值。The monetary value to initialize.

另请参阅

SqlMoney(Double) SqlMoney(Double) SqlMoney(Double) SqlMoney(Double)

使用指定的双精度型值初始化 SqlMoney 类的新实例。Initializes a new instance of the SqlMoney class with specified double value.

public:
 SqlMoney(double value);
public SqlMoney (double value);
new System.Data.SqlTypes.SqlMoney : double -> System.Data.SqlTypes.SqlMoney
Public Sub New (value As Double)

参数

value
Double Double Double Double

要初始化的货币值。The monetary value to initialize.

另请参阅

SqlMoney(Int32) SqlMoney(Int32) SqlMoney(Int32) SqlMoney(Int32)

用指定的整数值初始化 SqlMoney 类的新实例。Initializes a new instance of the SqlMoney class with the specified integer value.

public:
 SqlMoney(int value);
public SqlMoney (int value);
new System.Data.SqlTypes.SqlMoney : int -> System.Data.SqlTypes.SqlMoney
Public Sub New (value As Integer)

参数

value
Int32 Int32 Int32 Int32

要初始化的货币值。The monetary value to initialize.

另请参阅

SqlMoney(Int64) SqlMoney(Int64) SqlMoney(Int64) SqlMoney(Int64)

使用指定的长整型值初始化 SqlMoney 类的新实例。Initializes a new instance of the SqlMoney class with the specified long integer value.

public:
 SqlMoney(long value);
public SqlMoney (long value);
new System.Data.SqlTypes.SqlMoney : int64 -> System.Data.SqlTypes.SqlMoney
Public Sub New (value As Long)

参数

value
Int64 Int64 Int64 Int64

要初始化的货币值。The monetary value to initialize.

另请参阅

适用于