SqlInt64.Explicit 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
轉換到 和 轉換 SqlInt64。
多載
| 名稱 | Description |
|---|---|
| Explicit(SqlString to SqlInt64) | |
| Explicit(SqlSingle to SqlInt64) | |
| Explicit(SqlMoney to SqlInt64) | |
| Explicit(SqlInt64 to Int64) |
將 SqlInt64 參數轉換為 long。 |
| Explicit(SqlDouble to SqlInt64) | |
| Explicit(SqlDecimal to SqlInt64) |
將所提供的 SqlDecimal 參數 SqlInt64轉換為 。 |
| Explicit(SqlBoolean to SqlInt64) |
將所提供的 SqlBoolean 參數 SqlInt64轉換為 。 |
Explicit(SqlString to SqlInt64)
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt64(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlInt64
Public Shared Narrowing Operator CType (x As SqlString) As SqlInt64
參數
傳回
一個新 SqlInt64 ,其 Value 值等於參數 SqlString 所代表的值。
另請參閱
適用於
Explicit(SqlSingle to SqlInt64)
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt64(System::Data::SqlTypes::SqlSingle x);
public static explicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlSingle x);
static member op_Explicit : System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlInt64
Public Shared Narrowing Operator CType (x As SqlSingle) As SqlInt64
參數
傳回
一個新的 SqlInt64 結構,其 Value 性質包含參數的 SqlSingle 整數部分。
另請參閱
適用於
Explicit(SqlMoney to SqlInt64)
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt64(System::Data::SqlTypes::SqlMoney x);
public static explicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlMoney x);
static member op_Explicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlInt64
Public Shared Narrowing Operator CType (x As SqlMoney) As SqlInt64
參數
傳回
一個性質SqlInt64Value等於參數整SqlMoney數部分的新結構。
另請參閱
適用於
Explicit(SqlInt64 to Int64)
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
將 SqlInt64 參數轉換為 long。
public:
static explicit operator long(System::Data::SqlTypes::SqlInt64 x);
public static explicit operator long(System.Data.SqlTypes.SqlInt64 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt64 -> int64
Public Shared Narrowing Operator CType (x As SqlInt64) As Long
參數
傳回
另請參閱
適用於
Explicit(SqlDouble to SqlInt64)
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt64(System::Data::SqlTypes::SqlDouble x);
public static explicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlDouble x);
static member op_Explicit : System.Data.SqlTypes.SqlDouble -> System.Data.SqlTypes.SqlInt64
Public Shared Narrowing Operator CType (x As SqlDouble) As SqlInt64
參數
傳回
一個性質SqlInt64Value等於參數整SqlDouble數部分的新結構。
另請參閱
適用於
Explicit(SqlDecimal to SqlInt64)
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
將所提供的 SqlDecimal 參數 SqlInt64轉換為 。
public:
static explicit operator System::Data::SqlTypes::SqlInt64(System::Data::SqlTypes::SqlDecimal x);
public static explicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlDecimal x);
static member op_Explicit : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlInt64
Public Shared Narrowing Operator CType (x As SqlDecimal) As SqlInt64
參數
要改建的 SqlDecimal 建築。
傳回
一個新 SqlInt64 結構,其 Value 等於參數的 SqlDecimal 整數部分。
另請參閱
適用於
Explicit(SqlBoolean to SqlInt64)
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
- 來源:
- SQLInt64.cs
將所提供的 SqlBoolean 參數 SqlInt64轉換為 。
public:
static explicit operator System::Data::SqlTypes::SqlInt64(System::Data::SqlTypes::SqlBoolean x);
public static explicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlBoolean x);
static member op_Explicit : System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlInt64
Public Shared Narrowing Operator CType (x As SqlBoolean) As SqlInt64
參數
要改建的 SqlBoolean 建築。
傳回
一個性質SqlInt64Value等於參數 的新ByteValueSqlBoolean結構。