SqlDecimal.Implicit SqlDecimal.Implicit SqlDecimal.Implicit SqlDecimal.Implicit Operator

定义

重载

Implicit(SqlMoney to SqlDecimal) Implicit(SqlMoney to SqlDecimal) Implicit(SqlMoney to SqlDecimal) Implicit(SqlMoney to SqlDecimal)

SqlMoney 操作数转换为 SqlDecimalConverts the SqlMoney operand to SqlDecimal.

Implicit(Int64 to SqlDecimal) Implicit(Int64 to SqlDecimal) Implicit(Int64 to SqlDecimal) Implicit(Int64 to SqlDecimal)

将提供的 Int64 结构转换为 SqlDecimalConverts the supplied Int64 structure to SqlDecimal.

Implicit(Decimal to SqlDecimal) Implicit(Decimal to SqlDecimal) Implicit(Decimal to SqlDecimal) Implicit(Decimal to SqlDecimal)

Decimal 值转换为 SqlDecimalConverts the Decimal value to SqlDecimal.

Implicit(SqlInt64 to SqlDecimal) Implicit(SqlInt64 to SqlDecimal) Implicit(SqlInt64 to SqlDecimal) Implicit(SqlInt64 to SqlDecimal)

将提供的 SqlInt64 结构转换为 SqlDecimal。Converts the supplied SqlInt64 structure to SqlDecimal.

Implicit(SqlInt32 to SqlDecimal) Implicit(SqlInt32 to SqlDecimal) Implicit(SqlInt32 to SqlDecimal) Implicit(SqlInt32 to SqlDecimal)

将提供的 SqlInt32 结构转换为 SqlDecimalConverts the supplied SqlInt32 structure to SqlDecimal.

Implicit(SqlInt16 to SqlDecimal) Implicit(SqlInt16 to SqlDecimal) Implicit(SqlInt16 to SqlDecimal) Implicit(SqlInt16 to SqlDecimal)

将提供的 SqlInt16 结构转换为 SqlDecimalConverts the supplied SqlInt16 structure to SqlDecimal

Implicit(SqlByte to SqlDecimal) Implicit(SqlByte to SqlDecimal) Implicit(SqlByte to SqlDecimal) Implicit(SqlByte to SqlDecimal)

将提供的 SqlByte 结构转换为 SqlDecimalConverts the supplied SqlByte structure to SqlDecimal.

Implicit(SqlMoney to SqlDecimal) Implicit(SqlMoney to SqlDecimal) Implicit(SqlMoney to SqlDecimal) Implicit(SqlMoney to SqlDecimal)

SqlMoney 操作数转换为 SqlDecimalConverts the SqlMoney operand to SqlDecimal.

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

参数

x
SqlMoney SqlMoney SqlMoney SqlMoney

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

返回

一个新的 SqlDecimal 结构,它的 Value 等于 Value 参数的 SqlMoneyA new SqlDecimal structure whose Value equals the Value of the SqlMoney parameter.

注解

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

另请参阅

Implicit(Int64 to SqlDecimal) Implicit(Int64 to SqlDecimal) Implicit(Int64 to SqlDecimal) Implicit(Int64 to SqlDecimal)

将提供的 Int64 结构转换为 SqlDecimalConverts the supplied Int64 structure to SqlDecimal.

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

参数

x
Int64 Int64 Int64 Int64

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

返回

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

注解

此运算符的等效方法是 SqlDecimal.ValueThe equivalent method for this operator is SqlDecimal.Value

另请参阅

Implicit(Decimal to SqlDecimal) Implicit(Decimal to SqlDecimal) Implicit(Decimal to SqlDecimal) Implicit(Decimal to SqlDecimal)

Decimal 值转换为 SqlDecimalConverts the Decimal value to SqlDecimal.

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

参数

x
Decimal Decimal Decimal Decimal

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

返回

新的 SqlDecimal 结构,它的 Value 属性等于 Decimal 参数的值。A new SqlDecimal structure whose Value property equals the value of the Decimal parameter.

另请参阅

Implicit(SqlInt64 to SqlDecimal) Implicit(SqlInt64 to SqlDecimal) Implicit(SqlInt64 to SqlDecimal) Implicit(SqlInt64 to SqlDecimal)

将提供的 SqlInt64 结构转换为 SqlDecimal。Converts the supplied SqlInt64 structure to SqlDecimal.

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

参数

x
SqlInt64 SqlInt64 SqlInt64 SqlInt64

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

返回

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

注解

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

另请参阅

Implicit(SqlInt32 to SqlDecimal) Implicit(SqlInt32 to SqlDecimal) Implicit(SqlInt32 to SqlDecimal) Implicit(SqlInt32 to SqlDecimal)

将提供的 SqlInt32 结构转换为 SqlDecimalConverts the supplied SqlInt32 structure to SqlDecimal.

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

参数

x
SqlInt32 SqlInt32 SqlInt32 SqlInt32

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

返回

一个新的 SqlDecimal 结构,它的 Value 属性等于 Value 参数的 SqlInt32 属性。A new SqlDecimal structure whose Value property is equal to the Value property of the SqlInt32 parameter.

注解

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

另请参阅

Implicit(SqlInt16 to SqlDecimal) Implicit(SqlInt16 to SqlDecimal) Implicit(SqlInt16 to SqlDecimal) Implicit(SqlInt16 to SqlDecimal)

将提供的 SqlInt16 结构转换为 SqlDecimalConverts the supplied SqlInt16 structure to SqlDecimal

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

参数

x
SqlInt16 SqlInt16 SqlInt16 SqlInt16

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

返回

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

注解

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

另请参阅

Implicit(SqlByte to SqlDecimal) Implicit(SqlByte to SqlDecimal) Implicit(SqlByte to SqlDecimal) Implicit(SqlByte to SqlDecimal)

将提供的 SqlByte 结构转换为 SqlDecimalConverts the supplied SqlByte structure to SqlDecimal.

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

参数

x
SqlByte SqlByte SqlByte SqlByte

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

返回

一个新的 SqlDecimal 结构,它的 Value 属性等于 Value 参数的 SqlByte 属性。A new SqlDecimal structure whose Value property equals the Value property of the SqlByte parameter.

注解

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

另请参阅

适用于