SqlDecimal.Explicit Operátor
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Převede zadanou strukturu na SqlDecimal.
Přetížení
| Name | Description |
|---|---|
| Explicit(Double to SqlDecimal) |
Double Převede parametr na SqlDecimal. |
| 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) |
SqlDecimal Převede parametr na Decimal. |
| 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
- Zdroj:
- SQLDecimal.cs
- Zdroj:
- SQLDecimal.cs
Double Převede parametr na 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
Parametry
Návraty
Nová SqlDecimal struktura, jejíž hodnota se rovná hodnotě parametru Double .
Poznámky
Ekvivalentní metoda tohoto operátoru je SqlDecimal.Value
Platí pro
Explicit(SqlString to SqlDecimal)
- Zdroj:
- SQLDecimal.cs
- Zdroj:
- SQLDecimal.cs
- 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
Návraty
Nová SqlDecimal struktura, jejíž Value hodnota se rovná hodnotě reprezentované parametrem SqlString .
Poznámky
Ekvivalentní metoda tohoto operátoru je SqlString.ToSqlDecimal()
Viz také
Platí pro
Explicit(SqlSingle to SqlDecimal)
- Zdroj:
- SQLDecimal.cs
- Zdroj:
- SQLDecimal.cs
- 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
Návraty
Nová SqlDecimal struktura, jejíž Value vlastnost se Value rovná parametru SqlSingle .
Poznámky
Ekvivalentní metoda tohoto operátoru je SqlSingle.ToSqlDecimal()
Viz také
Platí pro
Explicit(SqlDecimal to Decimal)
- Zdroj:
- SQLDecimal.cs
- Zdroj:
- SQLDecimal.cs
- Zdroj:
- SQLDecimal.cs
- Zdroj:
- SQLDecimal.cs
- Zdroj:
- SQLDecimal.cs
SqlDecimal Převede parametr na 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
Parametry
Struktura SqlDecimal , která se má převést.
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
- 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
Struktura SqlBoolean , která se má převést.
Návraty
Nová SqlDecimal struktura, jejíž Value se rovná ByteValue parametru SqlBoolean .
Poznámky
Ekvivalentní metoda tohoto operátoru je SqlBoolean.ToSqlDecimal()
Viz také
Platí pro
Explicit(SqlDouble to SqlDecimal)
- Zdroj:
- SQLDecimal.cs
- Zdroj:
- SQLDecimal.cs
- 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
Návraty
Nová SqlDecimal struktura, jejíž Value se rovná Value parametru SqlDouble .
Poznámky
Ekvivalentní metoda tohoto operátoru je SqlDouble.ToSqlDecimal()