SqlInt16.Explicit Operatore

Definizione

Esegue la conversione a e da SqlInt16.

Overload

Explicit(SqlString to SqlInt16)

Converte l’oggetto fornito SqlString in SqlInt16.

Explicit(SqlSingle to SqlInt16)

Converte la struttura SqlSingle fornita in SqlInt16.

Explicit(SqlMoney to SqlInt16)

Converte la struttura SqlMoney fornita in SqlInt16.

Explicit(SqlInt64 to SqlInt16)

Converte la struttura SqlInt64 fornita in SqlInt16.

Explicit(SqlInt16 to Int16)

Converte la struttura SqlInt16 specificata in un valore short integer.

Explicit(SqlDouble to SqlInt16)

Converte la struttura SqlDouble fornita in SqlInt16.

Explicit(SqlDecimal to SqlInt16)

Converte la struttura SqlDecimal fornita in SqlInt16.

Explicit(SqlBoolean to SqlInt16)

Converte la struttura SqlBoolean fornita in SqlInt16.

Explicit(SqlInt32 to SqlInt16)

Converte la struttura SqlInt32 fornita in SqlInt16.

Explicit(SqlString to SqlInt16)

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

Converte l’oggetto fornito SqlString in SqlInt16.

C#
public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlString x);

Parametri

x
SqlString

Un oggetto SqlString.

Restituisce

Nuova struttura SqlInt16 la cui proprietà Value è uguale al valore rappresentato dal parametro dell’oggetto SqlString.

Commenti

Il metodo equivalente per questo operatore è SqlString.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

Explicit(SqlSingle to SqlInt16)

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

Converte la struttura SqlSingle fornita in SqlInt16.

C#
public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlSingle x);

Parametri

x
SqlSingle

Struttura SqlSingle.

Restituisce

Nuova struttura SqlInt16 la cui proprietà Value è uguale alla porzione intera del parametro SqlSingle.

Commenti

Il metodo equivalente per questo operatore è SqlSingle.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

Explicit(SqlMoney to SqlInt16)

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

Converte la struttura SqlMoney fornita in SqlInt16.

C#
public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlMoney x);

Parametri

x
SqlMoney

Struttura SqlMoney.

Restituisce

Nuova struttura SqlInt16 la cui proprietà Value è uguale alla proprietà Value del parametro SqlMoney.

Commenti

Il metodo equivalente per questo operatore è SqlMoney.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

Explicit(SqlInt64 to SqlInt16)

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

Converte la struttura SqlInt64 fornita in SqlInt16.

C#
public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlInt64 x);

Parametri

x
SqlInt64

Struttura SqlInt64.

Restituisce

Nuova struttura SqlInt16 la cui proprietà Value è uguale alla proprietà Value del parametro SqlInt64.

Commenti

Il metodo equivalente per questo operatore è SqlInt64.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

Explicit(SqlInt16 to Int16)

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

Converte la struttura SqlInt16 specificata in un valore short integer.

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

Parametri

x
SqlInt16

Struttura SqlInt16.

Restituisce

Valore short integer il cui valore corrisponde alla proprietà Value del parametro SqlInt16.

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

Explicit(SqlDouble to SqlInt16)

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

Converte la struttura SqlDouble fornita in SqlInt16.

C#
public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlDouble x);

Parametri

x
SqlDouble

Struttura SqlDouble.

Restituisce

Nuova struttura SqlInt16 la cui proprietà Value è uguale alla porzione intera del parametro SqlDouble.

Commenti

Il metodo equivalente per questo operatore è SqlDouble.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

Explicit(SqlDecimal to SqlInt16)

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

Converte la struttura SqlDecimal fornita in SqlInt16.

C#
public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlDecimal x);

Parametri

x
SqlDecimal

Struttura SqlDecimal.

Restituisce

Nuova struttura SqlInt16 la cui proprietà Value è uguale alla proprietà Value del parametro SqlDecimal.

Commenti

Il metodo equivalente per questo operatore è SqlDecimal.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

Explicit(SqlBoolean to SqlInt16)

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

Converte la struttura SqlBoolean fornita in SqlInt16.

C#
public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlBoolean x);

Parametri

x
SqlBoolean

Struttura SqlBoolean.

Restituisce

Nuova struttura SqlInt16 la cui proprietà Value è uguale alla proprietà ByteValue del parametro SqlBoolean.

Commenti

Il metodo equivalente per questo operatore è SqlBoolean.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

Explicit(SqlInt32 to SqlInt16)

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

Converte la struttura SqlInt32 fornita in SqlInt16.

C#
public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlInt32 x);

Parametri

x
SqlInt32

Struttura SqlInt32.

Restituisce

Struttura SqlInt16 nuova la cui proprietà Value è uguale alla proprietà Value del parametro SqlInt32 specificato.

Commenti

Il metodo equivalente per questo operatore è SqlInt32.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