SqlMoney.Implicit SqlMoney.Implicit SqlMoney.Implicit SqlMoney.Implicit Operator

定义

重载

Implicit(SqlByte to SqlMoney) Implicit(SqlByte to SqlMoney) Implicit(SqlByte to SqlMoney) Implicit(SqlByte to SqlMoney)

此隐式运算符可将所提供的 SqlByte 参数转换为 SqlMoneyThis implicit operator converts the supplied SqlByte parameter to SqlMoney.

Implicit(SqlInt16 to SqlMoney) Implicit(SqlInt16 to SqlMoney) Implicit(SqlInt16 to SqlMoney) Implicit(SqlInt16 to SqlMoney)

此隐式运算符可将所提供的 SqlInt16 参数转换为 SqlMoneyThis implicit operator converts the supplied SqlInt16 parameter to SqlMoney.

Implicit(SqlInt32 to SqlMoney) Implicit(SqlInt32 to SqlMoney) Implicit(SqlInt32 to SqlMoney) Implicit(SqlInt32 to SqlMoney)

此隐式运算符可将所提供的 SqlInt32 参数转换为 SqlMoneyThis implicit operator converts the supplied SqlInt32 parameter to SqlMoney.

Implicit(SqlInt64 to SqlMoney) Implicit(SqlInt64 to SqlMoney) Implicit(SqlInt64 to SqlMoney) Implicit(SqlInt64 to SqlMoney)

此隐式运算符可将所提供的 SqlInt64 参数转换为 SqlMoneyThis implicit operator converts the supplied SqlInt64 parameter to SqlMoney.

Implicit(Decimal to SqlMoney) Implicit(Decimal to SqlMoney) Implicit(Decimal to SqlMoney) Implicit(Decimal to SqlMoney)

Decimal 参数转换为 SqlMoneyConverts the Decimal parameter to SqlMoney.

Implicit(Int64 to SqlMoney) Implicit(Int64 to SqlMoney) Implicit(Int64 to SqlMoney) Implicit(Int64 to SqlMoney)

此隐式运算符可将所提供的 Int64 参数转换为 SqlMoneyThis implicit operator converts the supplied Int64 parameter to SqlMoney.

Implicit(SqlByte to SqlMoney) Implicit(SqlByte to SqlMoney) Implicit(SqlByte to SqlMoney) Implicit(SqlByte to SqlMoney)

此隐式运算符可将所提供的 SqlByte 参数转换为 SqlMoneyThis implicit operator converts the supplied SqlByte parameter to SqlMoney.

public:
 static operator System::Data::SqlTypes::SqlMoney(System::Data::SqlTypes::SqlByte x);
public static implicit operator System.Data.SqlTypes.SqlMoney (System.Data.SqlTypes.SqlByte x);
static member op_Implicit : System.Data.SqlTypes.SqlByte -> System.Data.SqlTypes.SqlMoney
Public Shared Widening Operator CType (x As SqlByte) As SqlMoney

参数

x
SqlByte SqlByte SqlByte SqlByte

要转换的 SqlByte 结构。The SqlByte structure to be converted.

返回

新的 SqlMoney 结构,它的 Value 属性等于 Value 参数的 SqlByteA new SqlMoney structure whose Value property is equal to the Value of the SqlByte parameter.

注解

此运算符的等效方法是 SqlByte.ToSqlMoney()The equivalent method for this operator is SqlByte.ToSqlMoney()

另请参阅

Implicit(SqlInt16 to SqlMoney) Implicit(SqlInt16 to SqlMoney) Implicit(SqlInt16 to SqlMoney) Implicit(SqlInt16 to SqlMoney)

此隐式运算符可将所提供的 SqlInt16 参数转换为 SqlMoneyThis implicit operator converts the supplied SqlInt16 parameter to SqlMoney.

public:
 static operator System::Data::SqlTypes::SqlMoney(System::Data::SqlTypes::SqlInt16 x);
public static implicit operator System.Data.SqlTypes.SqlMoney (System.Data.SqlTypes.SqlInt16 x);
static member op_Implicit : System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlMoney
Public Shared Widening Operator CType (x As SqlInt16) As SqlMoney

参数

x
SqlInt16 SqlInt16 SqlInt16 SqlInt16

要转换的 SqlInt16 结构。The SqlInt16 structure to be converted.

返回

一个新的 SqlMoney 结构,它的 Value 属性等于 Value 参数的 SqlInt16A new SqlMoney structure whose Value property equals the Value of the SqlInt16 parameter.

注解

此运算符的等效方法是 SqlInt16.ToSqlMoney()The equivalent method for this operator is SqlInt16.ToSqlMoney()

另请参阅

Implicit(SqlInt32 to SqlMoney) Implicit(SqlInt32 to SqlMoney) Implicit(SqlInt32 to SqlMoney) Implicit(SqlInt32 to SqlMoney)

此隐式运算符可将所提供的 SqlInt32 参数转换为 SqlMoneyThis implicit operator converts the supplied SqlInt32 parameter to SqlMoney.

public:
 static operator System::Data::SqlTypes::SqlMoney(System::Data::SqlTypes::SqlInt32 x);
public static implicit operator System.Data.SqlTypes.SqlMoney (System.Data.SqlTypes.SqlInt32 x);
static member op_Implicit : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlMoney
Public Shared Widening Operator CType (x As SqlInt32) As SqlMoney

参数

x
SqlInt32 SqlInt32 SqlInt32 SqlInt32

要转换的 SqlInt32 结构。The SqlInt32 structure to be converted.

返回

一个新的 SqlMoney 结构,它的 Value 属性等于 Value 参数的 SqlInt32A new SqlMoney structure whose Value property equals the Value of the SqlInt32 parameter.

注解

此运算符的等效方法是 SqlInt32.ToSqlMoney()The equivalent method for this operator is SqlInt32.ToSqlMoney()

另请参阅

Implicit(SqlInt64 to SqlMoney) Implicit(SqlInt64 to SqlMoney) Implicit(SqlInt64 to SqlMoney) Implicit(SqlInt64 to SqlMoney)

此隐式运算符可将所提供的 SqlInt64 参数转换为 SqlMoneyThis implicit operator converts the supplied SqlInt64 parameter to SqlMoney.

public:
 static operator System::Data::SqlTypes::SqlMoney(System::Data::SqlTypes::SqlInt64 x);
public static implicit operator System.Data.SqlTypes.SqlMoney (System.Data.SqlTypes.SqlInt64 x);
static member op_Implicit : System.Data.SqlTypes.SqlInt64 -> System.Data.SqlTypes.SqlMoney
Public Shared Widening Operator CType (x As SqlInt64) As SqlMoney

参数

x
SqlInt64 SqlInt64 SqlInt64 SqlInt64

要转换的 SqlInt64 结构。The SqlInt64 structure to be converted.

返回

一个新的 SqlMoney 结构,它的 Value 属性等于 Value 参数的 SqlInt64A new SqlMoney structure whose Value property equals the Value of the SqlInt64 parameter.

注解

此运算符的等效方法是 SqlInt64.ToSqlMoney()The equivalent method for this operator is SqlInt64.ToSqlMoney()

另请参阅

Implicit(Decimal to SqlMoney) Implicit(Decimal to SqlMoney) Implicit(Decimal to SqlMoney) Implicit(Decimal to SqlMoney)

Decimal 参数转换为 SqlMoneyConverts the Decimal parameter to SqlMoney.

public:
 static operator System::Data::SqlTypes::SqlMoney(System::Decimal x);
public static implicit operator System.Data.SqlTypes.SqlMoney (decimal x);
static member op_Implicit : decimal -> System.Data.SqlTypes.SqlMoney
Public Shared Widening Operator CType (x As Decimal) As SqlMoney

参数

x
Decimal Decimal Decimal Decimal

要转换的 Decimal 值。The Decimal value to be converted.

返回

一个新的 SqlMoney 结构,它的 Value 等于 Decimal 参数的值。A new SqlMoney structure whose Value equals the value of the Decimal parameter.

另请参阅

Implicit(Int64 to SqlMoney) Implicit(Int64 to SqlMoney) Implicit(Int64 to SqlMoney) Implicit(Int64 to SqlMoney)

此隐式运算符可将所提供的 Int64 参数转换为 SqlMoneyThis implicit operator converts the supplied Int64 parameter to SqlMoney.

public:
 static operator System::Data::SqlTypes::SqlMoney(long x);
public static implicit operator System.Data.SqlTypes.SqlMoney (long x);
static member op_Implicit : int64 -> System.Data.SqlTypes.SqlMoney
Public Shared Widening Operator CType (x As Long) As SqlMoney

参数

x
Int64 Int64 Int64 Int64

要转换的 Int64 结构。The Int64 structure to be converted.

返回

新的 SqlMoney 结构,它的 Value 属性等于 Int64 参数的值。A new SqlMoney structure whose Value property is equal to the value of the Int64 parameter.

注解

此运算符的等效方法是 SqlByte.ToSqlMoney()The equivalent method for this operator is SqlByte.ToSqlMoney()

另请参阅

适用于