SqlInt32.Explicit 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
轉換到 和 轉換 SqlInt32。
多載
Explicit(SqlString to SqlInt32)
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlString) As SqlInt32
參數
傳回
一個性質SqlInt32Value等於參數所表示SqlString值的新結構。
備註
此運算子的等價方法為 SqlString.ToSqlInt32()
另請參閱
適用於
Explicit(SqlSingle to SqlInt32)
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlSingle x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlSingle x);
static member op_Explicit : System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlSingle) As SqlInt32
參數
傳回
一個性質SqlInt32Value等於參數整SqlSingle數部分的新結構。
備註
此運算子的等價方法為 SqlSingle.ToSqlInt32()
另請參閱
適用於
Explicit(SqlMoney to SqlInt32)
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlMoney x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlMoney x);
static member op_Explicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlMoney) As SqlInt32
參數
傳回
一個性質SqlInt32Value等於Value參數SqlMoney性質的新結構。
備註
此運算子的等價方法為 SqlMoney.ToSqlInt32()
另請參閱
適用於
Explicit(SqlInt64 to SqlInt32)
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlInt64 x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlInt64 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt64 -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlInt64) As SqlInt32
參數
傳回
一個性質SqlInt32Value等於Value參數SqlInt64性質的新結構。
備註
此運算子的等價方法為 SqlInt64.ToSqlInt32()
另請參閱
適用於
Explicit(SqlInt32 to Int32)
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
將提供的 SqlInt32 結構轉換為整數。
public:
static explicit operator int(System::Data::SqlTypes::SqlInt32 x);
public static explicit operator int(System.Data.SqlTypes.SqlInt32 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt32 -> int
Public Shared Narrowing Operator CType (x As SqlInt32) As Integer
參數
傳回
轉換後的整數值。
另請參閱
適用於
Explicit(SqlDouble to SqlInt32)
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlDouble x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlDouble x);
static member op_Explicit : System.Data.SqlTypes.SqlDouble -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlDouble) As SqlInt32
參數
傳回
一個性質SqlInt32Value等於參數整SqlDouble數部分的新結構。
備註
此運算子的等價方法為 SqlDouble.ToSqlInt32()
另請參閱
適用於
Explicit(SqlDecimal to SqlInt32)
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
將所提供的 SqlDecimal 結構 SqlInt32轉換為 。
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlDecimal x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlDecimal x);
static member op_Explicit : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlDecimal) As SqlInt32
參數
SqlDecimal 結構。
傳回
一個性質SqlInt32Value等於Value參數SqlDecimal性質的新結構。
備註
此運算子的等價方法為 SqlDecimal.ToSqlInt32()
另請參閱
適用於
Explicit(SqlBoolean to SqlInt32)
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
- 來源:
- SQLInt32.cs
將 所提供的 SqlBooleanSqlInt32轉換為 。
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlBoolean x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlBoolean x);
static member op_Explicit : System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlBoolean) As SqlInt32
參數
SqlBoolean 結構。
傳回
一個性質 SqlInt32ValueByteValue 等於參數 SqlBoolean 性質的新結構。
備註
此運算子的等價方法為 SqlBoolean.ToSqlInt32()