SqlInt16.Explicit Operador
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Convierte a una estructura SqlInt16 y viceversa.
Explicit(SqlString to SqlInt16) | |
Explicit(SqlSingle to SqlInt16) |
Convierte la estructura SqlSingle proporcionada en SqlInt16. |
Explicit(SqlMoney to SqlInt16) | |
Explicit(SqlInt64 to SqlInt16) | |
Explicit(SqlInt16 to Int16) |
Convierte la estructura SqlInt16 especificada en un entero corto. |
Explicit(SqlDouble to SqlInt16) |
Convierte la estructura SqlDouble proporcionada en SqlInt16. |
Explicit(SqlDecimal to SqlInt16) |
Convierte la estructura SqlDecimal proporcionada en SqlInt16. |
Explicit(SqlBoolean to SqlInt16) |
Convierte la estructura SqlBoolean proporcionada en SqlInt16. |
Explicit(SqlInt32 to SqlInt16) |
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
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
Devoluciones
Nueva estructura SqlInt16 cuya propiedad Value es igual al valor representado por el parámetro del objeto SqlString.
Comentarios
El método equivalente para este operador es SqlString.ToSqlInt16()
Consulte también
Se aplica a
.NET 9 y otras versiones
Producto | Versiones |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
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
Devoluciones
Una nueva estructura SqlInt16 cuya propiedad Value es igual a la parte de entero del parámetro SqlSingle.
Comentarios
El método equivalente para este operador es SqlSingle.ToSqlInt16()
Consulte también
Se aplica a
.NET 9 y otras versiones
Producto | Versiones |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
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
Devoluciones
Una nueva estructura SqlInt16 cuya propiedad Value es igual a la propiedad Value del parámetro SqlMoney.
Comentarios
El método equivalente para este operador es SqlMoney.ToSqlInt16()
Consulte también
Se aplica a
.NET 9 y otras versiones
Producto | Versiones |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
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
Devoluciones
Una nueva estructura SqlInt16 cuya propiedad Value es igual a la propiedad Value del parámetro SqlInt64.
Comentarios
El método equivalente para este operador es SqlInt64.ToSqlInt16()
Consulte también
Se aplica a
.NET 9 y otras versiones
Producto | Versiones |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
Convierte la estructura SqlInt16 especificada en un entero corto.
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
Devoluciones
Entero corto cuyo valor es el valor del parámetro SqlInt16.
Consulte también
Se aplica a
.NET 9 y otras versiones
Producto | Versiones |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
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
Devoluciones
Una nueva estructura SqlInt16 cuya propiedad Value es igual a la parte de entero del parámetro SqlDouble.
Comentarios
El método equivalente para este operador es SqlDouble.ToSqlInt16()
Consulte también
Se aplica a
.NET 9 y otras versiones
Producto | Versiones |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
Convierte la estructura SqlDecimal proporcionada 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
Parámetros
Un estructura SqlDecimal.
Devoluciones
Una nueva estructura SqlInt16 cuya propiedad Value es igual a la propiedad Value del parámetro SqlDecimal.
Comentarios
El método equivalente para este operador es SqlDecimal.ToSqlInt16()
Consulte también
Se aplica a
.NET 9 y otras versiones
Producto | Versiones |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
Convierte la estructura SqlBoolean proporcionada 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
Parámetros
Un estructura SqlBoolean.
Devoluciones
Una nueva estructura SqlInt16 cuya propiedad Value es igual a la propiedad ByteValue del parámetro SqlBoolean.
Comentarios
El método equivalente para este operador es SqlBoolean.ToSqlInt16()
Consulte también
Se aplica a
.NET 9 y otras versiones
Producto | Versiones |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
- Source:
- SQLInt16.cs
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
Devoluciones
Nueva estructura SqlInt16 cuya propiedad Value es igual a la propiedad Value del parámetro SqlInt32 especificado.
Comentarios
El método equivalente para este operador es SqlInt32.ToSqlInt16()
Consulte también
Se aplica a
.NET 9 y otras versiones
Producto | Versiones |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: