SqlDecimal.Explicit Operador

Definição

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

x
Double

A Double estrutura a ser convertida.

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

x
SqlString

O SqlString objeto a ser convertido.

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

x
SqlSingle

A SqlSingle estrutura a ser convertida.

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

x
SqlDecimal

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

x
SqlBoolean

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

x
SqlDouble

A SqlDouble estrutura a ser convertida.

Retornos

Uma nova SqlDecimal estrutura que Value é igual ao ValueSqlDouble parâmetro.

Comentários

O método equivalente para esse operador é SqlDouble.ToSqlDecimal()

Confira também

Aplica-se a