SqlInt16.Explicit Opérateur

Définition

Convertit en et à partir d’un SqlInt16.

Surcharges

Nom Description
Explicit(SqlString to SqlInt16)

Convertit l’objet fourni SqlString en SqlInt16.

Explicit(SqlSingle to SqlInt16)

Convertit la structure fournie SqlSingle en SqlInt16.

Explicit(SqlMoney to SqlInt16)

Convertit la structure fournie SqlMoney en SqlInt16.

Explicit(SqlInt64 to SqlInt16)

Convertit la structure fournie SqlInt64 en SqlInt16.

Explicit(SqlInt32 to SqlInt16)

Convertit la structure fournie SqlInt32 en SqlInt16.

Explicit(SqlInt16 to Int16)

Convertit la structure fournie SqlInt16 en entier court.

Explicit(SqlDouble to SqlInt16)

Convertit la structure fournie SqlDouble en SqlInt16.

Explicit(SqlDecimal to SqlInt16)

Convertit la structure fournie SqlDecimal en SqlInt16.

Explicit(SqlBoolean to SqlInt16)

Convertit la structure fournie SqlBoolean en SqlInt16.

Explicit(SqlString to SqlInt16)

Convertit l’objet fourni SqlString en 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

Paramètres

x
SqlString

Objet SqlString.

Retours

Nouvelle SqlInt16 structure dont Value la propriété est égale à la valeur représentée par le paramètre d’objet SqlString .

Remarques

La méthode équivalente pour cet opérateur est SqlString.ToSqlInt16()

Voir aussi

S’applique à

Explicit(SqlSingle to SqlInt16)

Convertit la structure fournie SqlSingle en 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

Paramètres

x
SqlSingle

Structure SqlSingle.

Retours

Nouvelle SqlInt16 structure dont Value la propriété est égale à la partie entière du SqlSingle paramètre.

Remarques

La méthode équivalente pour cet opérateur est SqlSingle.ToSqlInt16()

Voir aussi

S’applique à

Explicit(SqlMoney to SqlInt16)

Convertit la structure fournie SqlMoney en 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

Paramètres

x
SqlMoney

Structure SqlMoney.

Retours

Nouvelle SqlInt16 structure dont Value la propriété est égale à la Value propriété du SqlMoney paramètre.

Remarques

La méthode équivalente pour cet opérateur est SqlMoney.ToSqlInt16()

Voir aussi

S’applique à

Explicit(SqlInt64 to SqlInt16)

Convertit la structure fournie SqlInt64 en 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

Paramètres

x
SqlInt64

Structure SqlInt64.

Retours

Nouvelle SqlInt16 structure dont Value la propriété est égale au ValueSqlInt64 paramètre.

Remarques

La méthode équivalente pour cet opérateur est SqlInt64.ToSqlInt16()

Voir aussi

S’applique à

Explicit(SqlInt32 to SqlInt16)

Convertit la structure fournie SqlInt32 en 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

Paramètres

x
SqlInt32

Structure SqlInt32.

Retours

Nouvelle SqlInt16 structure dont Value la propriété est égale au Value paramètre fourni SqlInt32 .

Remarques

La méthode équivalente pour cet opérateur est SqlInt32.ToSqlInt16()

Voir aussi

S’applique à

Explicit(SqlInt16 to Int16)

Convertit la structure fournie SqlInt16 en entier court.

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

Paramètres

x
SqlInt16

Structure SqlInt16.

Retours

Entier court dont la valeur est la valeur du SqlInt16 paramètre.

Voir aussi

S’applique à

Explicit(SqlDouble to SqlInt16)

Convertit la structure fournie SqlDouble en 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

Paramètres

x
SqlDouble

Structure SqlDouble.

Retours

Nouvelle SqlInt16 structure dont Value la propriété est égale à la partie entière du SqlDouble paramètre.

Remarques

La méthode équivalente pour cet opérateur est SqlDouble.ToSqlInt16()

Voir aussi

S’applique à

Explicit(SqlDecimal to SqlInt16)

Convertit la structure fournie SqlDecimal en 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

Paramètres

x
SqlDecimal

Structure SqlDecimal.

Retours

Nouvelle SqlInt16 structure dont Value la propriété est égale à la Value propriété du SqlDecimal paramètre.

Remarques

La méthode équivalente pour cet opérateur est SqlDecimal.ToSqlInt16()

Voir aussi

S’applique à

Explicit(SqlBoolean to SqlInt16)

Convertit la structure fournie SqlBoolean en 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

Paramètres

x
SqlBoolean

Structure SqlBoolean.

Retours

Nouvelle SqlInt16 structure dont Value la propriété est égale à la ByteValue propriété du SqlBoolean paramètre.

Remarques

La méthode équivalente pour cet opérateur est SqlBoolean.ToSqlInt16()

Voir aussi

S’applique à