SqlDecimal.Explicit Operatore

Definizione

Converte la struttura fornita in SqlDecimal.

Overload

Explicit(Double to SqlDecimal)

Converte il parametro Double in SqlDecimal .

Explicit(SqlString to SqlDecimal)

Converte il parametro SqlString fornito in SqlDecimal.

Explicit(SqlSingle to SqlDecimal)

Converte la struttura SqlSingle fornita in SqlDecimal.

Explicit(SqlDecimal to Decimal)

Converte il parametro SqlDecimal in Decimal .

Explicit(SqlBoolean to SqlDecimal)

Converte la struttura SqlBoolean fornita in SqlDecimal.

Explicit(SqlDouble to SqlDecimal)

Converte la struttura SqlDouble fornita in SqlDecimal.

Explicit(Double to SqlDecimal)

Source:
SQLDecimal.cs
Source:
SQLDecimal.cs
Source:
SQLDecimal.cs

Converte il parametro Double in SqlDecimal .

public:
 static explicit operator System::Data::SqlTypes::SqlDecimal(double x);
public static explicit operator System.Data.SqlTypes.SqlDecimal (double x);
static member op_Explicit : double -> System.Data.SqlTypes.SqlDecimal
Public Shared Narrowing Operator CType (x As Double) As SqlDecimal

Parametri

x
Double

Struttura Double da convertire.

Restituisce

Nuova struttura SqlDecimal con valore uguale al valore del parametro Double.

Commenti

Il metodo equivalente per questo operatore è SqlDecimal.Value

Si applica a

Explicit(SqlString to SqlDecimal)

Source:
SQLDecimal.cs
Source:
SQLDecimal.cs
Source:
SQLDecimal.cs

Converte il parametro SqlString fornito in SqlDecimal.

public:
 static explicit operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlDecimal
Public Shared Narrowing Operator CType (x As SqlString) As SqlDecimal

Parametri

x
SqlString

Oggetto SqlString da convertire.

Restituisce

Nuova struttura SqlDecimal la cui proprietà Value è uguale al valore rappresentato dal parametro SqlString.

Commenti

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

Vedi anche

Si applica a

Explicit(SqlSingle to SqlDecimal)

Source:
SQLDecimal.cs
Source:
SQLDecimal.cs
Source:
SQLDecimal.cs

Converte la struttura SqlSingle fornita in SqlDecimal.

public:
 static explicit operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlSingle x);
public static explicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlSingle x);
static member op_Explicit : System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlDecimal
Public Shared Narrowing Operator CType (x As SqlSingle) As SqlDecimal

Parametri

x
SqlSingle

Struttura SqlSingle da convertire.

Restituisce

Nuova struttura SqlDecimal la cui proprietà Value è uguale a Value del parametro SqlSingle.

Commenti

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

Vedi anche

Si applica a

Explicit(SqlDecimal to Decimal)

Source:
SQLDecimal.cs
Source:
SQLDecimal.cs
Source:
SQLDecimal.cs

Converte il parametro SqlDecimal in Decimal .

public:
 static explicit operator System::Decimal(System::Data::SqlTypes::SqlDecimal x);
public static explicit operator decimal (System.Data.SqlTypes.SqlDecimal x);
static member op_Explicit : System.Data.SqlTypes.SqlDecimal -> decimal
Public Shared Narrowing Operator CType (x As SqlDecimal) As Decimal

Parametri

x
SqlDecimal

Struttura SqlDecimal da convertire.

Restituisce

Nuova struttura Decimal con valore uguale alla proprietà Value del parametro SqlDecimal.

Vedi anche

Si applica a

Explicit(SqlBoolean to SqlDecimal)

Source:
SQLDecimal.cs
Source:
SQLDecimal.cs
Source:
SQLDecimal.cs

Converte la struttura SqlBoolean fornita in SqlDecimal.

public:
 static explicit operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlBoolean x);
public static explicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlBoolean x);
static member op_Explicit : System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlDecimal
Public Shared Narrowing Operator CType (x As SqlBoolean) As SqlDecimal

Parametri

x
SqlBoolean

Struttura SqlBoolean da convertire.

Restituisce

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

Commenti

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

Vedi anche

Si applica a

Explicit(SqlDouble to SqlDecimal)

Source:
SQLDecimal.cs
Source:
SQLDecimal.cs
Source:
SQLDecimal.cs

Converte la struttura SqlDouble fornita in SqlDecimal.

public:
 static explicit operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlDouble x);
public static explicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlDouble x);
static member op_Explicit : System.Data.SqlTypes.SqlDouble -> System.Data.SqlTypes.SqlDecimal
Public Shared Narrowing Operator CType (x As SqlDouble) As SqlDecimal

Parametri

x
SqlDouble

Struttura SqlDouble da convertire.

Restituisce

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

Commenti

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

Vedi anche

Si applica a