SqlMoney.Implicit 运算符
定义
重载
| Implicit(SqlByte to SqlMoney) |
此隐式运算符可将所提供的 SqlByte 参数转换为 SqlMoney。This implicit operator converts the supplied SqlByte parameter to SqlMoney. |
| Implicit(SqlInt16 to SqlMoney) |
此隐式运算符可将所提供的 SqlInt16 参数转换为 SqlMoney。This implicit operator converts the supplied SqlInt16 parameter to SqlMoney. |
| Implicit(SqlInt32 to SqlMoney) |
此隐式运算符可将所提供的 SqlInt32 参数转换为 SqlMoney。This implicit operator converts the supplied SqlInt32 parameter to SqlMoney. |
| Implicit(SqlInt64 to SqlMoney) |
此隐式运算符可将所提供的 SqlInt64 参数转换为 SqlMoney。This implicit operator converts the supplied SqlInt64 parameter to SqlMoney. |
| Implicit(Decimal to SqlMoney) |
将 Decimal 参数转换为 SqlMoney。Converts the Decimal parameter to SqlMoney. |
| Implicit(Int64 to SqlMoney) |
此隐式运算符可将所提供的 Int64 参数转换为 SqlMoney。This implicit operator converts the supplied Int64 parameter to SqlMoney. |
Implicit(SqlByte 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
参数
返回
新的 SqlMoney 结构,它的 Value 属性等于 Value 参数的 SqlByte。A 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)
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
参数
返回
一个新的 SqlMoney 结构,它的 Value 属性等于 Value 参数的 SqlInt16。A 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)
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
参数
返回
一个新的 SqlMoney 结构,它的 Value 属性等于 Value 参数的 SqlInt32。A 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)
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
参数
返回
一个新的 SqlMoney 结构,它的 Value 属性等于 Value 参数的 SqlInt64。A 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)
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
参数
返回
一个新的 SqlMoney 结构,它的 Value 等于 Decimal 参数的值。A new SqlMoney structure whose Value equals the value of the Decimal parameter.
适用于
Implicit(Int64 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
参数
返回
新的 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()