SqlDecimal.Explicit Operator

定義

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

オーバーロード

名前 説明
Explicit(Double to SqlDecimal)

Double パラメーターをSqlDecimalに変換します。

Explicit(SqlString to SqlDecimal)

指定された SqlString パラメーターを SqlDecimalに変換します。

Explicit(SqlSingle to SqlDecimal)

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

Explicit(SqlDecimal to Decimal)

SqlDecimal パラメーターをDecimalに変換します。

Explicit(SqlBoolean to SqlDecimal)

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

Explicit(SqlDouble to SqlDecimal)

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

Explicit(Double to SqlDecimal)

Double パラメーターをSqlDecimalに変換します。

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

パラメーター

x
Double

変換する Double 構造体。

返品

Double パラメーターの値と等しい値を持つ新しいSqlDecimal構造体。

注釈

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

適用対象

Explicit(SqlString to SqlDecimal)

指定された SqlString パラメーターを SqlDecimalに変換します。

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

パラメーター

x
SqlString

変換する SqlString オブジェクト。

返品

SqlString パラメーターで表される値と等しいValueを持つ新しいSqlDecimal構造体。

注釈

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

こちらもご覧ください

適用対象

Explicit(SqlSingle to SqlDecimal)

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

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

パラメーター

x
SqlSingle

変換する SqlSingle 構造体。

返品

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

注釈

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

こちらもご覧ください

適用対象

Explicit(SqlDecimal to Decimal)

SqlDecimal パラメーターをDecimalに変換します。

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

パラメーター

x
SqlDecimal

変換する SqlDecimal 構造体。

返品

SqlDecimal パラメーターのValueと等しい値を持つ新しいDecimal構造体。

こちらもご覧ください

適用対象

Explicit(SqlBoolean to SqlDecimal)

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

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

パラメーター

x
SqlBoolean

変換する SqlBoolean 構造体。

返品

ValueSqlBoolean パラメーターのByteValueと等しい新しいSqlDecimal構造体。

注釈

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

こちらもご覧ください

適用対象

Explicit(SqlDouble to SqlDecimal)

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

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

パラメーター

x
SqlDouble

変換する SqlDouble 構造体。

返品

SqlDouble パラメーターのValueと等しいValueを持つ新しいSqlDecimal構造体。

注釈

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

こちらもご覧ください

適用対象