SqlDecimal.Explicit Operador
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Converte a estrutura fornecida em SqlDecimal.
Sobrecargas
| Name | 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 fornecida SqlSingle em SqlDecimal. |
| Explicit(SqlDecimal to Decimal) |
Converte o SqlDecimal parâmetro em Decimal. |
| Explicit(SqlBoolean to SqlDecimal) |
Converte a estrutura fornecida SqlBoolean em SqlDecimal. |
| Explicit(SqlDouble to SqlDecimal) |
Converte a estrutura fornecida SqlDouble em SqlDecimal. |
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
Devoluções
Uma nova SqlDecimal estrutura cujo valor é igual ao valor do Double parâmetro.
Observações
O método equivalente para este 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
Devoluções
Uma nova SqlDecimal estrutura cujo Value valor é igual ao valor representado pelo SqlString parâmetro.
Observações
O método equivalente para este operador é SqlString.ToSqlDecimal()
Ver também
Aplica-se a
Explicit(SqlSingle to SqlDecimal)
Converte a estrutura fornecida SqlSingle em 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
Parâmetros
Devoluções
Uma nova SqlDecimal estrutura cuja Value propriedade é igual ao Value do SqlSingle parâmetro.
Observações
O método equivalente para este operador é SqlSingle.ToSqlDecimal()
Ver 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 converter.
Devoluções
Uma nova Decimal estrutura cujo valor é igual ao Value do SqlDecimal parâmetro.
Ver também
Aplica-se a
Explicit(SqlBoolean to SqlDecimal)
Converte a estrutura fornecida SqlBoolean em 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
Parâmetros
A SqlBoolean estrutura a converter.
Devoluções
Uma nova SqlDecimal estrutura cuja Value é igual ao ByteValue do SqlBoolean parâmetro.
Observações
O método equivalente para este operador é SqlBoolean.ToSqlDecimal()
Ver também
Aplica-se a
Explicit(SqlDouble to SqlDecimal)
Converte a estrutura fornecida SqlDouble em 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
Parâmetros
Devoluções
Uma nova SqlDecimal estrutura que Value seja igual ao Value do SqlDouble parâmetro.
Observações
O método equivalente para este operador é SqlDouble.ToSqlDecimal()