Leggere in inglese

Condividi tramite


SqlDecimal.Implicit Operatore

Definizione

Converte la struttura fornita in SqlDecimal.

Overload

Implicit(SqlMoney to SqlDecimal)

Converte l’operando SqlMoney in SqlDecimal .

Implicit(Int64 to SqlDecimal)

Converte la struttura Int64 fornita in SqlDecimal.

Implicit(Decimal to SqlDecimal)

Converte il valore Decimal in SqlDecimal.

Implicit(SqlInt64 to SqlDecimal)

Converte la struttura SqlInt64 fornita in SqlDecimal.

Implicit(SqlInt32 to SqlDecimal)

Converte la struttura SqlInt32 fornita in SqlDecimal.

Implicit(SqlInt16 to SqlDecimal)

Converte la struttura SqlInt16 fornita in SqlDecimal.

Implicit(SqlByte to SqlDecimal)

Converte la struttura SqlByte fornita in SqlDecimal.

Implicit(SqlMoney to SqlDecimal)

Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs

Converte l’operando SqlMoney in SqlDecimal .

public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlMoney x);

Parametri

x
SqlMoney

Struttura SqlMoney da convertire.

Restituisce

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

Commenti

Il metodo equivalente per questo operatore è SqlMoney.ToSqlDecimal()

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(Int64 to SqlDecimal)

Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs

Converte la struttura Int64 fornita in SqlDecimal.

public static implicit operator System.Data.SqlTypes.SqlDecimal (long x);

Parametri

x
Int64

Struttura Int64 da convertire.

Restituisce

Nuova struttura SqlDecimal la cui proprietà Value è uguale al valore del parametro Int64.

Commenti

Il metodo equivalente per questo operatore è SqlDecimal.Value

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 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(Decimal to SqlDecimal)

Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs

Converte il valore Decimal in SqlDecimal.

public static implicit operator System.Data.SqlTypes.SqlDecimal (decimal x);

Parametri

x
Decimal

Valore Decimal da convertire.

Restituisce

Nuova struttura SqlDecimal la cui proprietà Value è uguale al valore del parametro Decimal.

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(SqlInt64 to SqlDecimal)

Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs

Converte la struttura SqlInt64 fornita in SqlDecimal.

public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlInt64 x);

Parametri

x
SqlInt64

Struttura SqlInt64 da convertire.

Restituisce

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

Commenti

Il metodo equivalente per questo operatore è SqlInt64.ToSqlDecimal()

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(SqlInt32 to SqlDecimal)

Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs

Converte la struttura SqlInt32 fornita in SqlDecimal.

public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlInt32 x);

Parametri

x
SqlInt32

Struttura SqlInt32 da convertire.

Restituisce

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

Commenti

Il metodo equivalente per questo operatore è SqlInt32.ToSqlDecimal()

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(SqlInt16 to SqlDecimal)

Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs

Converte la struttura SqlInt16 fornita in SqlDecimal.

public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlInt16 x);

Parametri

x
SqlInt16

Struttura SqlInt16 da convertire.

Restituisce

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

Commenti

Il metodo equivalente per questo operatore è SqlInt16.ToSqlDecimal()

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(SqlByte to SqlDecimal)

Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs
Origine:
SQLDecimal.cs

Converte la struttura SqlByte fornita in SqlDecimal.

public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlByte x);

Parametri

x
SqlByte

Struttura SqlByte da convertire.

Restituisce

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

Commenti

Il metodo equivalente per questo operatore è SqlByte.ToSqlDecimal()

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