SqlInt16.Implicit Operatore
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Effettua la conversione a una struttura SqlInt16.
Implicit(SqlByte to SqlInt16) | |
Implicit(Int16 to SqlInt16) |
Converte il valore short integer specificato in SqlInt16 . |
- Origine:
- SQLInt16.cs
- Origine:
- SQLInt16.cs
- Origine:
- SQLInt16.cs
public:
static operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlByte x);
public static implicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlByte x);
static member op_Implicit : System.Data.SqlTypes.SqlByte -> System.Data.SqlTypes.SqlInt16
Public Shared Widening Operator CType (x As SqlByte) As SqlInt16
Parametri
Restituisce
Nuova struttura SqlInt16 la cui proprietà Value è uguale alla proprietà Value del parametro SqlByte.
Commenti
Il metodo equivalente per questo operatore è SqlByte.ToSqlInt16()
Vedi anche
Si applica a
.NET 9 e altre versioni
Prodotto | Versioni |
---|---|
.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 |
- Origine:
- SQLInt16.cs
- Origine:
- SQLInt16.cs
- Origine:
- SQLInt16.cs
Converte il valore short integer specificato in SqlInt16 .
public:
static operator System::Data::SqlTypes::SqlInt16(short x);
public static implicit operator System.Data.SqlTypes.SqlInt16 (short x);
static member op_Implicit : int16 -> System.Data.SqlTypes.SqlInt16
Public Shared Widening Operator CType (x As Short) As SqlInt16
Parametri
- x
- Int16
Valore short integer.
Restituisce
Struttura SqlInt16 con lo stesso valore del valore short integer specificato.
Vedi anche
Si applica a
.NET 9 e altre versioni
Prodotto | Versioni |
---|---|
.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 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: