SqlDecimal.Explicit Operador
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Converte a estrutura SqlDecimalfornecida em .
Sobrecargas
| Nome | Description |
|---|---|
| Explicit(Double to SqlDecimal) |
Converte o Double parâmetro em SqlDecimal. |
| Explicit(SqlString to SqlDecimal) |
Converte o parâmetro fornecido SqlString em SqlDecimal. |
| Explicit(SqlSingle to SqlDecimal) |
Converte a estrutura SqlDecimalfornecida SqlSingle em . |
| Explicit(SqlDecimal to Decimal) |
Converte o SqlDecimal parâmetro em Decimal. |
| Explicit(SqlBoolean to SqlDecimal) |
Converte a estrutura SqlDecimalfornecida SqlBoolean em . |
| Explicit(SqlDouble to SqlDecimal) |
Converte a estrutura SqlDecimalfornecida SqlDouble em . |
Explicit(Double to SqlDecimal)
Converte o Double parâmetro em 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
Parâmetros
Retornos
Uma nova SqlDecimal estrutura cujo valor é igual ao valor do Double parâmetro.
Comentários
O método equivalente para esse operador é SqlDecimal.Value
Aplica-se a
Explicit(SqlString to SqlDecimal)
Converte o parâmetro fornecido SqlString em 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
Parâmetros
Retornos
Uma nova SqlDecimal estrutura cujo Value valor é igual ao representado pelo SqlString parâmetro.
Comentários
O método equivalente para esse operador é SqlString.ToSqlDecimal()
Confira também
Aplica-se a
Explicit(SqlSingle to SqlDecimal)
Converte a estrutura SqlDecimalfornecida SqlSingle em .
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
Parâmetros
Retornos
Uma nova SqlDecimal estrutura cuja Value propriedade é igual ao ValueSqlSingle parâmetro.
Comentários
O método equivalente para esse operador é SqlSingle.ToSqlDecimal()
Confira também
Aplica-se a
Explicit(SqlDecimal to Decimal)
Converte o SqlDecimal parâmetro em 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
Parâmetros
A SqlDecimal estrutura a ser convertida.
Retornos
Uma nova Decimal estrutura cujo valor é igual ao ValueSqlDecimal do parâmetro.
Confira também
Aplica-se a
Explicit(SqlBoolean to SqlDecimal)
Converte a estrutura SqlDecimalfornecida SqlBoolean em .
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
Parâmetros
A SqlBoolean estrutura a ser convertida.
Retornos
Uma nova SqlDecimal estrutura que Value é igual ao ByteValue parâmetro SqlBoolean .
Comentários
O método equivalente para esse operador é SqlBoolean.ToSqlDecimal()
Confira também
Aplica-se a
Explicit(SqlDouble to SqlDecimal)
Converte a estrutura SqlDecimalfornecida SqlDouble em .
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
Parâmetros
Retornos
Uma nova SqlDecimal estrutura que Value é igual ao ValueSqlDouble parâmetro.
Comentários
O método equivalente para esse operador é SqlDouble.ToSqlDecimal()