SqlDouble.Explicit Operatore

Definizione

Esegue la conversione a e da SqlDouble.Converts to and from a SqlDouble.

Overload

Explicit(SqlBoolean to SqlDouble)

Converte il parametro SqlBoolean fornito in SqlDouble.Converts the supplied SqlBoolean parameter to SqlDouble.

Explicit(SqlDouble to Double)

Converte la struttura SqlDouble specificata in double.Converts the supplied SqlDouble structure to double.

Explicit(SqlString to SqlDouble)

Converte il parametro SqlString fornito in SqlDouble.Converts the supplied SqlString parameter to SqlDouble.

Explicit(SqlBoolean to SqlDouble)

Converte il parametro SqlBoolean fornito in SqlDouble.Converts the supplied SqlBoolean parameter to SqlDouble.

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

Parametri

x
SqlBoolean

Elemento SqlBoolean da convertire.The SqlBoolean to be converted.

Restituisce

Nuova struttura SqlDouble la cui proprietà Value è uguale a 0 o 1, in base alla proprietà ByteValue del parametro SqlBoolean.A new SqlDouble structure whose Value is either 0 or 1, depending on the ByteValue property of the SqlBoolean parameter. Se l'oggetto SqlBoolean è Null, la struttura SqlDouble sarà Null.If the SqlBoolean is Null, the SqlDouble structure will be Null.

Commenti

Il metodo equivalente per questo operatore èSqlBoolean.ToSqlDouble()The equivalent method for this operator is SqlBoolean.ToSqlDouble()

Vedi anche

Explicit(SqlDouble to Double)

Converte la struttura SqlDouble specificata in double.Converts the supplied SqlDouble structure to double.

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

Parametri

x
SqlDouble

Struttura SqlDouble.A SqlDouble structure.

Restituisce

Equivalente double del valore della struttura SqlDouble specificata.A double equivalent to the specified SqlDouble structure's value.

Vedi anche

Explicit(SqlString to SqlDouble)

Converte il parametro SqlString fornito in SqlDouble.Converts the supplied SqlString parameter to SqlDouble.

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

Parametri

x
SqlString

Oggetto SqlString.A SqlString object.

Restituisce

Nuova struttura SqlDouble la cui proprietà Value corrisponde al valore del numero rappresentato da SqlString .A new SqlDouble whose Value is equal to the value of the number represented by the SqlString. Se l'oggetto SqlString è Null, la struttura SqlDouble sarà Null.If the SqlString is Null, the SqlDouble structure will be Null.

Commenti

Il metodo equivalente per questo operatore èSqlString.ToSqlDouble()The equivalent method for this operator is SqlString.ToSqlDouble()

Vedi anche

Si applica a