SqlDecimal.Explicit Operator
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した構造体を 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
パラメーター
返品
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
パラメーター
返品
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
パラメーター
返品
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
パラメーター
変換する 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
パラメーター
変換する SqlBoolean 構造体。
返品
Valueが SqlBoolean パラメーターの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
パラメーター
返品
SqlDouble パラメーターのValueと等しいValueを持つ新しいSqlDecimal構造体。
注釈
この演算子の同等のメソッドは次のようになります。 SqlDouble.ToSqlDecimal()