SqlInt16.Implicit Operatore

Definizione

Effettua la conversione a una struttura SqlInt16.

Overload

Implicit(SqlByte to SqlInt16)

Converte la struttura SqlByte fornita in SqlInt16.

Implicit(Int16 to SqlInt16)

Converte il valore short integer specificato in SqlInt16 .

Implicit(SqlByte to SqlInt16)

Origine:
SQLInt16.cs
Origine:
SQLInt16.cs
Origine:
SQLInt16.cs

Converte la struttura SqlByte fornita in SqlInt16.

C#
public static implicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlByte x);

Parametri

x
SqlByte

Struttura SqlByte.

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

Implicit(Int16 to SqlInt16)

Origine:
SQLInt16.cs
Origine:
SQLInt16.cs
Origine:
SQLInt16.cs

Converte il valore short integer specificato in SqlInt16 .

C#
public static implicit operator System.Data.SqlTypes.SqlInt16 (short x);

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