SqlDecimal.Explicit Operátor

Definice

Převede zadanou strukturu na SqlDecimal.

Přetížení

Explicit(Double to SqlDecimal)

Převede parametr na DoubleSqlDecimal.

Explicit(SqlString to SqlDecimal)

Převede zadaný SqlString parametr na SqlDecimal.

Explicit(SqlSingle to SqlDecimal)

Převede zadanou SqlSingle strukturu na SqlDecimal.

Explicit(SqlDecimal to Decimal)

Převede parametr na SqlDecimalDecimal.

Explicit(SqlBoolean to SqlDecimal)

Převede zadanou SqlBoolean strukturu na SqlDecimal.

Explicit(SqlDouble to SqlDecimal)

Převede zadanou SqlDouble strukturu na SqlDecimal.

Explicit(Double to SqlDecimal)

Zdroj:
SQLDecimal.cs
Zdroj:
SQLDecimal.cs
Zdroj:
SQLDecimal.cs

Převede parametr na DoubleSqlDecimal.

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

Parametry

x
Double

Struktura Double , která má být převedena.

Návraty

Nová SqlDecimal struktura, jejíž hodnota se rovná hodnotě parametru Double .

Poznámky

Ekvivalentní metoda pro tento operátor je SqlDecimal.Value

Platí pro

Explicit(SqlString to SqlDecimal)

Zdroj:
SQLDecimal.cs
Zdroj:
SQLDecimal.cs
Zdroj:
SQLDecimal.cs

Převede zadaný SqlString parametr na 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

Parametry

x
SqlString

Objekt SqlString , který má být převeden.

Návraty

Nová SqlDecimal struktura, jejíž Value hodnota se rovná hodnotě reprezentované parametrem SqlString .

Poznámky

Ekvivalentní metoda pro tento operátor je SqlString.ToSqlDecimal()

Viz také

Platí pro

Explicit(SqlSingle to SqlDecimal)

Zdroj:
SQLDecimal.cs
Zdroj:
SQLDecimal.cs
Zdroj:
SQLDecimal.cs

Převede zadanou SqlSingle strukturu na 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

Parametry

x
SqlSingle

Struktura SqlSingle , která má být převedena.

Návraty

Nová SqlDecimal struktura, jejíž Value vlastnost se Value rovná parametru SqlSingle .

Poznámky

Ekvivalentní metoda pro tento operátor je SqlSingle.ToSqlDecimal()

Viz také

Platí pro

Explicit(SqlDecimal to Decimal)

Zdroj:
SQLDecimal.cs
Zdroj:
SQLDecimal.cs
Zdroj:
SQLDecimal.cs

Převede parametr na SqlDecimalDecimal.

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

Parametry

x
SqlDecimal

Struktura SqlDecimal , která má být převedena.

Návraty

Nová Decimal struktura, jejíž hodnota se Value rovná parametru SqlDecimal .

Viz také

Platí pro

Explicit(SqlBoolean to SqlDecimal)

Zdroj:
SQLDecimal.cs
Zdroj:
SQLDecimal.cs
Zdroj:
SQLDecimal.cs

Převede zadanou SqlBoolean strukturu na 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

Parametry

x
SqlBoolean

Struktura SqlBoolean , která má být převedena.

Návraty

Nová SqlDecimal struktura, jejíž Value hodnota je rovna ByteValue parametru SqlBoolean .

Poznámky

Ekvivalentní metoda pro tento operátor je SqlBoolean.ToSqlDecimal()

Viz také

Platí pro

Explicit(SqlDouble to SqlDecimal)

Zdroj:
SQLDecimal.cs
Zdroj:
SQLDecimal.cs
Zdroj:
SQLDecimal.cs

Převede zadanou SqlDouble strukturu na 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

Parametry

x
SqlDouble

Struktura SqlDouble , která má být převedena.

Návraty

Nová SqlDecimal struktura, jejíž Value hodnota se Value rovná parametru SqlDouble .

Poznámky

Ekvivalentní metoda pro tento operátor je SqlDouble.ToSqlDecimal()

Viz také

Platí pro