SqlInt16.Explicit Operador

Definición

Convierte a una estructura SqlInt16 y viceversa.Converts to and from a SqlInt16.

Sobrecargas

Explicit(SqlString to SqlInt16)

Convierte el objeto SqlString proporcionado en SqlInt16.Converts the supplied SqlString object to SqlInt16.

Explicit(SqlSingle to SqlInt16)

Convierte la estructura SqlSingle proporcionada en SqlInt16.Converts the supplied SqlSingle structure to SqlInt16.

Explicit(SqlMoney to SqlInt16)

Convierte la estructura SqlMoney proporcionada en SqlInt16.Converts the supplied SqlMoney structure to SqlInt16.

Explicit(SqlInt64 to SqlInt16)

Convierte la estructura SqlInt64 proporcionada en SqlInt16.Converts the supplied SqlInt64 structure to SqlInt16.

Explicit(SqlInt32 to SqlInt16)

Convierte la estructura SqlInt32 proporcionada en SqlInt16.Converts the supplied SqlInt32 structure to SqlInt16.

Explicit(SqlInt16 to Int16)

Convierte la estructura SqlInt16 especificada en un entero corto.Converts the supplied SqlInt16 structure to a short integer.

Explicit(SqlDouble to SqlInt16)

Convierte la estructura SqlDouble proporcionada en SqlInt16.Converts the supplied SqlDouble structure to SqlInt16.

Explicit(SqlDecimal to SqlInt16)

Convierte la estructura SqlDecimal proporcionada en SqlInt16.Converts the supplied SqlDecimal structure to SqlInt16.

Explicit(SqlBoolean to SqlInt16)

Convierte la estructura SqlBoolean proporcionada en SqlInt16.Converts the supplied SqlBoolean structure to SqlInt16.

Explicit(SqlString to SqlInt16)

Convierte el objeto SqlString proporcionado en SqlInt16.Converts the supplied SqlString object to 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

Parámetros

x
SqlString

Un objeto SqlString.A SqlString object.

Devoluciones

SqlInt16

Nueva estructura SqlInt16 cuya propiedad Value es igual al valor representado por el parámetro del objeto SqlString.A new SqlInt16 structure whose Value property is equal to the value represented by the SqlString object parameter.

Comentarios

El método equivalente para este operador es SqlString.ToSqlInt16()The equivalent method for this operator is SqlString.ToSqlInt16()

Se aplica a

Explicit(SqlSingle to SqlInt16)

Convierte la estructura SqlSingle proporcionada en SqlInt16.Converts the supplied SqlSingle structure to 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

Parámetros

x
SqlSingle

Un estructura SqlSingle.A SqlSingle structure.

Devoluciones

SqlInt16

Una nueva estructura SqlInt16 cuya propiedad Value es igual a la parte de entero del parámetro SqlSingle.A new SqlInt16 structure whose Value property is equal to the integer part of the SqlSingle parameter.

Comentarios

El método equivalente para este operador es SqlSingle.ToSqlInt16()The equivalent method for this operator is SqlSingle.ToSqlInt16()

Se aplica a

Explicit(SqlMoney to SqlInt16)

Convierte la estructura SqlMoney proporcionada en SqlInt16.Converts the supplied SqlMoney structure to 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

Parámetros

x
SqlMoney

Un estructura SqlMoney.A SqlMoney structure.

Devoluciones

SqlInt16

Una nueva estructura SqlInt16 cuya propiedad Value es igual a la propiedad Value del parámetro SqlMoney.A new SqlInt16 structure whose Value property is equal to the Value property of the SqlMoney parameter.

Comentarios

El método equivalente para este operador es SqlMoney.ToSqlInt16()The equivalent method for this operator is SqlMoney.ToSqlInt16()

Se aplica a

Explicit(SqlInt64 to SqlInt16)

Convierte la estructura SqlInt64 proporcionada en SqlInt16.Converts the supplied SqlInt64 structure to 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

Parámetros

x
SqlInt64

Un estructura SqlInt64.A SqlInt64 structure.

Devoluciones

SqlInt16

Una nueva estructura SqlInt16 cuya propiedad Value es igual a la propiedad Value del parámetro SqlInt64.A new SqlInt16 structure whose Value property is equal to the Value of the SqlInt64 parameter.

Comentarios

El método equivalente para este operador es SqlInt64.ToSqlInt16()The equivalent method for this operator is SqlInt64.ToSqlInt16()

Se aplica a

Explicit(SqlInt32 to SqlInt16)

Convierte la estructura SqlInt32 proporcionada en SqlInt16.Converts the supplied SqlInt32 structure to 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

Parámetros

x
SqlInt32

Un estructura SqlInt32.A SqlInt32 structure.

Devoluciones

SqlInt16

Nueva estructura SqlInt16 cuya propiedad Value es igual a la propiedad Value del parámetro SqlInt32 especificado.A new SqlInt16 structure whose Value property is equal to the Value of the supplied SqlInt32 parameter.

Comentarios

El método equivalente para este operador es SqlInt32.ToSqlInt16()The equivalent method for this operator is SqlInt32.ToSqlInt16()

Se aplica a

Explicit(SqlInt16 to Int16)

Convierte la estructura SqlInt16 especificada en un entero corto.Converts the supplied SqlInt16 structure to a short integer.

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

Parámetros

x
SqlInt16

Un estructura SqlInt16.A SqlInt16 structure.

Devoluciones

Int16

Entero corto cuyo valor es el valor del parámetro SqlInt16.A short integer whose value is the Value of the SqlInt16 parameter.

Se aplica a

Explicit(SqlDouble to SqlInt16)

Convierte la estructura SqlDouble proporcionada en SqlInt16.Converts the supplied SqlDouble structure to 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

Parámetros

x
SqlDouble

Un estructura SqlDouble.A SqlDouble structure.

Devoluciones

SqlInt16

Una nueva estructura SqlInt16 cuya propiedad Value es igual a la parte de entero del parámetro SqlDouble.A new SqlInt16 structure whose Value property is equal to the integer part of the SqlDouble parameter.

Comentarios

El método equivalente para este operador es SqlDouble.ToSqlInt16()The equivalent method for this operator is SqlDouble.ToSqlInt16()

Se aplica a

Explicit(SqlDecimal to SqlInt16)

Convierte la estructura SqlDecimal proporcionada en SqlInt16.Converts the supplied SqlDecimal structure to 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

Parámetros

x
SqlDecimal

Un estructura SqlDecimal.A SqlDecimal structure.

Devoluciones

SqlInt16

Una nueva estructura SqlInt16 cuya propiedad Value es igual a la propiedad Value del parámetro SqlDecimal.A new SqlInt16 structure whose Value property is equal to the Value property of the SqlDecimal parameter.

Comentarios

El método equivalente para este operador es SqlDecimal.ToSqlInt16()The equivalent method for this operator is SqlDecimal.ToSqlInt16()

Se aplica a

Explicit(SqlBoolean to SqlInt16)

Convierte la estructura SqlBoolean proporcionada en SqlInt16.Converts the supplied SqlBoolean structure to 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

Parámetros

x
SqlBoolean

Un estructura SqlBoolean.A SqlBoolean structure.

Devoluciones

SqlInt16

Una nueva estructura SqlInt16 cuya propiedad Value es igual a la propiedad ByteValue del parámetro SqlBoolean.A new SqlInt16 structure whose Value property is equal to the ByteValue property of the SqlBoolean parameter.

Comentarios

El método equivalente para este operador es SqlBoolean.ToSqlInt16()The equivalent method for this operator is SqlBoolean.ToSqlInt16()

Se aplica a