SqlInt32.Explicit Opérateur

Définition

Convertit en et à partir d’un SqlInt32.

Surcharges

Nom Description
Explicit(SqlString to SqlInt32)

Convertit l’objet fourni SqlString en SqlInt32.

Explicit(SqlSingle to SqlInt32)

Convertit le fichier fourni SqlSingle en SqlInt32.

Explicit(SqlMoney to SqlInt32)

Convertit la structure fournie SqlMoney en SqlInt32.

Explicit(SqlInt64 to SqlInt32)

Convertit le fichier fourni SqlInt64 en SqlInt32.

Explicit(SqlDouble to SqlInt32)

Convertit le fichier fourni SqlDouble en SqlInt32.

Explicit(SqlDecimal to SqlInt32)

Convertit la structure fournie SqlDecimal en SqlInt32.

Explicit(SqlBoolean to SqlInt32)

Convertit le fichier fourni SqlBoolean en SqlInt32.

Explicit(SqlInt32 to Int32)

Convertit la structure fournie SqlInt32 en entier.

Explicit(SqlString to SqlInt32)

Convertit l’objet fourni SqlString en SqlInt32.

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

Paramètres

x
SqlString

Objet SqlString.

Retours

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

Remarques

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

Voir aussi

S’applique à

Explicit(SqlSingle to SqlInt32)

Convertit le fichier fourni SqlSingle en SqlInt32.

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

Paramètres

x
SqlSingle

Structure SqlSingle.

Retours

Nouvelle SqlInt32 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.ToSqlInt32()

Voir aussi

S’applique à

Explicit(SqlMoney to SqlInt32)

Convertit la structure fournie SqlMoney en SqlInt32.

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

Paramètres

x
SqlMoney

Structure SqlMoney.

Retours

Nouvelle SqlInt32 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.ToSqlInt32()

Voir aussi

S’applique à

Explicit(SqlInt64 to SqlInt32)

Convertit le fichier fourni SqlInt64 en SqlInt32.

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

Paramètres

x
SqlInt64

Structure SqlInt64.

Retours

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

Remarques

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

Voir aussi

S’applique à

Explicit(SqlDouble to SqlInt32)

Convertit le fichier fourni SqlDouble en SqlInt32.

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

Paramètres

x
SqlDouble

Structure SqlDouble.

Retours

Nouvelle SqlInt32 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.ToSqlInt32()

Voir aussi

S’applique à

Explicit(SqlDecimal to SqlInt32)

Convertit la structure fournie SqlDecimal en SqlInt32.

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

Paramètres

x
SqlDecimal

Structure SqlDecimal.

Retours

Nouvelle SqlInt32 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.ToSqlInt32()

Voir aussi

S’applique à

Explicit(SqlBoolean to SqlInt32)

Convertit le fichier fourni SqlBoolean en SqlInt32.

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

Paramètres

x
SqlBoolean

Structure SqlBoolean.

Retours

Nouvelle SqlInt32 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.ToSqlInt32()

Voir aussi

S’applique à

Explicit(SqlInt32 to Int32)

Convertit la structure fournie SqlInt32 en entier.

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

Paramètres

x
SqlInt32

Structure SqlInt32.

Retours

Valeur entière convertie.

Voir aussi

S’applique à