SqlDecimal.Implicit Operatore
In questo articolo
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.
Converte la struttura fornita in SqlDecimal.
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. |
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
Converte l’operando SqlMoney in SqlDecimal .
public:
static operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlMoney x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlMoney x);
static member op_Implicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As SqlMoney) As SqlDecimal
Parametri
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 |
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
Converte la struttura Int64 fornita in SqlDecimal.
public:
static operator System::Data::SqlTypes::SqlDecimal(long x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (long x);
static member op_Implicit : int64 -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As Long) As SqlDecimal
Parametri
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 |
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
Converte il valore Decimal in SqlDecimal.
public:
static operator System::Data::SqlTypes::SqlDecimal(System::Decimal x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (decimal x);
static member op_Implicit : decimal -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As Decimal) As SqlDecimal
Parametri
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 |
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
Converte la struttura SqlInt64 fornita in SqlDecimal.
public:
static operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlInt64 x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlInt64 x);
static member op_Implicit : System.Data.SqlTypes.SqlInt64 -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As SqlInt64) As SqlDecimal
Parametri
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 |
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
Converte la struttura SqlInt32 fornita in SqlDecimal.
public:
static operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlInt32 x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlInt32 x);
static member op_Implicit : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As SqlInt32) As SqlDecimal
Parametri
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 |
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
Converte la struttura SqlInt16 fornita in SqlDecimal.
public:
static operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlInt16 x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlInt16 x);
static member op_Implicit : System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As SqlInt16) As SqlDecimal
Parametri
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 |
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
- Origine:
- SQLDecimal.cs
Converte la struttura SqlByte fornita in SqlDecimal.
public:
static operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlByte x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlByte x);
static member op_Implicit : System.Data.SqlTypes.SqlByte -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As SqlByte) As SqlDecimal
Parametri
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 |