SqlDecimal.Explicit Opérateur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Convertit la structure fournie en SqlDecimal.
Surcharges
| Nom | Description |
|---|---|
| Explicit(Double to SqlDecimal) |
Convertit le Double paramètre en SqlDecimal. |
| Explicit(SqlString to SqlDecimal) |
Convertit le paramètre fourni SqlString en SqlDecimal. |
| Explicit(SqlSingle to SqlDecimal) |
Convertit la structure fournie SqlSingle en SqlDecimal. |
| Explicit(SqlDecimal to Decimal) |
Convertit le SqlDecimal paramètre en Decimal. |
| Explicit(SqlBoolean to SqlDecimal) |
Convertit la structure fournie SqlBoolean en SqlDecimal. |
| Explicit(SqlDouble to SqlDecimal) |
Convertit la structure fournie SqlDouble en SqlDecimal. |
Explicit(Double to SqlDecimal)
Convertit le Double paramètre en 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
Paramètres
Retours
Nouvelle SqlDecimal structure dont la valeur est égale à la valeur du Double paramètre.
Remarques
La méthode équivalente pour cet opérateur est SqlDecimal.Value
S’applique à
Explicit(SqlString to SqlDecimal)
Convertit le paramètre fourni SqlString en 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
Paramètres
Retours
Nouvelle SqlDecimal structure dont Value la valeur est égale au SqlString paramètre.
Remarques
La méthode équivalente pour cet opérateur est SqlString.ToSqlDecimal()
Voir aussi
S’applique à
Explicit(SqlSingle to SqlDecimal)
Convertit la structure fournie SqlSingle en 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
Paramètres
Retours
Nouvelle SqlDecimal structure dont Value la propriété est égale au ValueSqlSingle paramètre.
Remarques
La méthode équivalente pour cet opérateur est SqlSingle.ToSqlDecimal()
Voir aussi
S’applique à
Explicit(SqlDecimal to Decimal)
Convertit le SqlDecimal paramètre en 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
Paramètres
Structure SqlDecimal à convertir.
Retours
Nouvelle Decimal structure dont la valeur est égale au ValueSqlDecimal paramètre.
Voir aussi
S’applique à
Explicit(SqlBoolean to SqlDecimal)
Convertit la structure fournie SqlBoolean en 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
Paramètres
Structure SqlBoolean à convertir.
Retours
Nouvelle SqlDecimal structure dont Value la valeur est égale au ByteValueSqlBoolean paramètre.
Remarques
La méthode équivalente pour cet opérateur est SqlBoolean.ToSqlDecimal()
Voir aussi
S’applique à
Explicit(SqlDouble to SqlDecimal)
Convertit la structure fournie SqlDouble en 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
Paramètres
Retours
Nouvelle SqlDecimal structure dont Value la valeur est égale au ValueSqlDouble paramètre.
Remarques
La méthode équivalente pour cet opérateur est SqlDouble.ToSqlDecimal()