SqlMoney.Implicit 运算符
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
转换为 SqlMoney 结构。
重载
Implicit(Int64 to SqlMoney) | |
Implicit(Decimal to SqlMoney) | |
Implicit(SqlInt64 to SqlMoney) | |
Implicit(SqlInt16 to SqlMoney) | |
Implicit(SqlByte to SqlMoney) | |
Implicit(SqlInt32 to SqlMoney) |
Implicit(Int64 to SqlMoney)
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
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 参数的值。
注解
此运算符的等效方法是 SqlByte.ToSqlMoney()
另请参阅
适用于
Implicit(Decimal to SqlMoney)
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
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 参数的值。
另请参阅
适用于
Implicit(SqlInt64 to SqlMoney)
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
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。
注解
此运算符的等效方法是 SqlInt64.ToSqlMoney()
另请参阅
适用于
Implicit(SqlInt16 to SqlMoney)
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
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。
注解
此运算符的等效方法是 SqlInt16.ToSqlMoney()
另请参阅
适用于
Implicit(SqlByte to SqlMoney)
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
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。
注解
此运算符的等效方法是 SqlByte.ToSqlMoney()
另请参阅
适用于
Implicit(SqlInt32 to SqlMoney)
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
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。
注解
此运算符的等效方法是 SqlInt32.ToSqlMoney()