SqlInt16.Explicit Operator

定義

SqlInt16との間で変換します。

オーバーロード

名前 説明
Explicit(SqlString to SqlInt16)

指定した SqlString オブジェクトを SqlInt16に変換します。

Explicit(SqlSingle to SqlInt16)

指定した SqlSingle 構造体を SqlInt16に変換します。

Explicit(SqlMoney to SqlInt16)

指定した SqlMoney 構造体を SqlInt16に変換します。

Explicit(SqlInt64 to SqlInt16)

指定した SqlInt64 構造体を SqlInt16に変換します。

Explicit(SqlInt32 to SqlInt16)

指定した SqlInt32 構造体を SqlInt16に変換します。

Explicit(SqlInt16 to Int16)

指定した SqlInt16 構造体を短整数に変換します。

Explicit(SqlDouble to SqlInt16)

指定した SqlDouble 構造体を SqlInt16に変換します。

Explicit(SqlDecimal to SqlInt16)

指定した SqlDecimal 構造体を SqlInt16に変換します。

Explicit(SqlBoolean to SqlInt16)

指定した SqlBoolean 構造体を SqlInt16に変換します。

Explicit(SqlString to SqlInt16)

指定した SqlString オブジェクトを SqlInt16に変換します。

public:
 static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlString) As SqlInt16

パラメーター

x
SqlString

SqlString オブジェクト。

返品

Value プロパティが SqlString オブジェクト パラメーターで表される値と等しい新しいSqlInt16構造体。

注釈

この演算子の同等のメソッドは次のようになります。 SqlString.ToSqlInt16()

こちらもご覧ください

適用対象

Explicit(SqlSingle to SqlInt16)

指定した SqlSingle 構造体を SqlInt16に変換します。

public:
 static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlSingle x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlSingle x);
static member op_Explicit : System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlSingle) As SqlInt16

パラメーター

x
SqlSingle

SqlSingle 構造。

返品

Value プロパティが SqlSingle パラメーターの整数部分と等しい新しいSqlInt16構造体。

注釈

この演算子の同等のメソッドは次のようになります。 SqlSingle.ToSqlInt16()

こちらもご覧ください

適用対象

Explicit(SqlMoney to SqlInt16)

指定した SqlMoney 構造体を SqlInt16に変換します。

public:
 static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlMoney x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlMoney x);
static member op_Explicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlMoney) As SqlInt16

パラメーター

x
SqlMoney

SqlMoney 構造。

返品

Value プロパティが SqlMoney パラメーターの Value プロパティと等しい新しいSqlInt16構造体。

注釈

この演算子の同等のメソッドは次のようになります。 SqlMoney.ToSqlInt16()

こちらもご覧ください

適用対象

Explicit(SqlInt64 to SqlInt16)

指定した SqlInt64 構造体を SqlInt16に変換します。

public:
 static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlInt64 x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlInt64 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt64 -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlInt64) As SqlInt16

パラメーター

x
SqlInt64

SqlInt64 構造。

返品

Value プロパティが SqlInt64 パラメーターのValueと等しい新しいSqlInt16構造体。

注釈

この演算子の同等のメソッドは次のようになります。 SqlInt64.ToSqlInt16()

こちらもご覧ください

適用対象

Explicit(SqlInt32 to SqlInt16)

指定した SqlInt32 構造体を SqlInt16に変換します。

public:
 static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlInt32 x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlInt32 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlInt32) As SqlInt16

パラメーター

x
SqlInt32

SqlInt32 構造。

返品

Value プロパティが指定されたSqlInt32 パラメーターのValueと等しい新しいSqlInt16構造体。

注釈

この演算子の同等のメソッドは次のようになります。 SqlInt32.ToSqlInt16()

こちらもご覧ください

適用対象

Explicit(SqlInt16 to Int16)

指定した SqlInt16 構造体を短整数に変換します。

public:
 static explicit operator short(System::Data::SqlTypes::SqlInt16 x);
public static explicit operator short(System.Data.SqlTypes.SqlInt16 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt16 -> int16
Public Shared Narrowing Operator CType (x As SqlInt16) As Short

パラメーター

x
SqlInt16

SqlInt16 構造。

返品

SqlInt16 パラメーターの値を持つ短い整数。

こちらもご覧ください

適用対象

Explicit(SqlDouble to SqlInt16)

指定した SqlDouble 構造体を SqlInt16に変換します。

public:
 static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlDouble x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlDouble x);
static member op_Explicit : System.Data.SqlTypes.SqlDouble -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlDouble) As SqlInt16

パラメーター

x
SqlDouble

SqlDouble 構造。

返品

Value プロパティが SqlDouble パラメーターの整数部分と等しい新しいSqlInt16構造体。

注釈

この演算子の同等のメソッドは次のようになります。 SqlDouble.ToSqlInt16()

こちらもご覧ください

適用対象

Explicit(SqlDecimal to SqlInt16)

指定した SqlDecimal 構造体を SqlInt16に変換します。

public:
 static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlDecimal x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlDecimal x);
static member op_Explicit : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlDecimal) As SqlInt16

パラメーター

x
SqlDecimal

SqlDecimal 構造。

返品

Value プロパティが SqlDecimal パラメーターの Value プロパティと等しい新しいSqlInt16構造体。

注釈

この演算子の同等のメソッドは次のようになります。 SqlDecimal.ToSqlInt16()

こちらもご覧ください

適用対象

Explicit(SqlBoolean to SqlInt16)

指定した SqlBoolean 構造体を SqlInt16に変換します。

public:
 static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlBoolean x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlBoolean x);
static member op_Explicit : System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlBoolean) As SqlInt16

パラメーター

x
SqlBoolean

SqlBoolean 構造。

返品

Value プロパティが SqlBoolean パラメーターの ByteValue プロパティと等しい新しいSqlInt16構造体。

注釈

この演算子の同等のメソッドは次のようになります。 SqlBoolean.ToSqlInt16()

こちらもご覧ください

適用対象