SqlDecimal.Explicit Operador

Definición

Convierte la estructura proporcionada en SqlDecimal.

Sobrecargas

Nombre Description
Explicit(Double to SqlDecimal)

Convierte el Double parámetro en SqlDecimal.

Explicit(SqlString to SqlDecimal)

Convierte el parámetro proporcionado SqlString en SqlDecimal.

Explicit(SqlSingle to SqlDecimal)

Convierte la estructura proporcionada SqlSingle en SqlDecimal.

Explicit(SqlDecimal to Decimal)

Convierte el SqlDecimal parámetro en Decimal.

Explicit(SqlBoolean to SqlDecimal)

Convierte la estructura proporcionada SqlBoolean en SqlDecimal.

Explicit(SqlDouble to SqlDecimal)

Convierte la estructura proporcionada SqlDouble en SqlDecimal.

Explicit(Double to SqlDecimal)

Convierte el Double parámetro 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

Parámetros

x
Double

Estructura Double que se va a convertir.

Devoluciones

Nueva SqlDecimal estructura cuyo valor es igual al valor del Double parámetro .

Comentarios

El método equivalente para este operador es SqlDecimal.Value

Se aplica a

Explicit(SqlString to SqlDecimal)

Convierte el parámetro proporcionado 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

Parámetros

x
SqlString

Objeto SqlString que se va a convertir.

Devoluciones

Nueva SqlDecimal estructura cuya Value estructura es igual al valor representado por el SqlString parámetro .

Comentarios

El método equivalente para este operador es SqlString.ToSqlDecimal()

Consulte también

Se aplica a

Explicit(SqlSingle to SqlDecimal)

Convierte la estructura proporcionada 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

Parámetros

x
SqlSingle

Estructura SqlSingle que se va a convertir.

Devoluciones

Nueva SqlDecimal estructura cuya Value propiedad es igual al Value del SqlSingle parámetro .

Comentarios

El método equivalente para este operador es SqlSingle.ToSqlDecimal()

Consulte también

Se aplica a

Explicit(SqlDecimal to Decimal)

Convierte el SqlDecimal parámetro 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

Parámetros

x
SqlDecimal

Estructura SqlDecimal que se va a convertir.

Devoluciones

Nueva Decimal estructura cuyo valor es igual al Value del SqlDecimal parámetro .

Consulte también

Se aplica a

Explicit(SqlBoolean to SqlDecimal)

Convierte la estructura proporcionada 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

Parámetros

x
SqlBoolean

Estructura SqlBoolean que se va a convertir.

Devoluciones

Nueva SqlDecimal estructura cuyo Value valor es igual al ByteValue del SqlBoolean parámetro .

Comentarios

El método equivalente para este operador es SqlBoolean.ToSqlDecimal()

Consulte también

Se aplica a

Explicit(SqlDouble to SqlDecimal)

Convierte la estructura proporcionada 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

Parámetros

x
SqlDouble

Estructura SqlDouble que se va a convertir.

Devoluciones

Nueva SqlDecimal estructura cuya Value propiedad es igual al Value del SqlDouble parámetro .

Comentarios

El método equivalente para este operador es SqlDouble.ToSqlDecimal()

Consulte también

Se aplica a