SqlDecimal.Explicit Operator

Definicja

Konwertuje podaną strukturę na SqlDecimal.

Przeciążenia

Explicit(Double to SqlDecimal)

Konwertuje Double parametr na SqlDecimal.

Explicit(SqlString to SqlDecimal)

Konwertuje podany SqlString parametr na SqlDecimal.

Explicit(SqlSingle to SqlDecimal)

Konwertuje podaną SqlSingle strukturę na SqlDecimal.

Explicit(SqlDecimal to Decimal)

Konwertuje SqlDecimal parametr na Decimal.

Explicit(SqlBoolean to SqlDecimal)

Konwertuje podaną SqlBoolean strukturę na SqlDecimal.

Explicit(SqlDouble to SqlDecimal)

Konwertuje podaną SqlDouble strukturę na SqlDecimal.

Explicit(Double to SqlDecimal)

Źródło:
SQLDecimal.cs
Źródło:
SQLDecimal.cs
Źródło:
SQLDecimal.cs

Konwertuje Double 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

x
Double

Struktura Double , która ma zostać przekonwertowana.

Zwraca

Nowa SqlDecimal struktura, której wartość jest równa wartości parametru Double .

Uwagi

Równoważną metodą dla tego operatora jest SqlDecimal.Value

Dotyczy

Explicit(SqlString to SqlDecimal)

Źródło:
SQLDecimal.cs
Źródło:
SQLDecimal.cs
Źródło:
SQLDecimal.cs

Konwertuje podany 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

Obiekt SqlString , który ma zostać przekonwertowany.

Zwraca

Nowa SqlDecimal struktura, której Value wartość jest równa wartości reprezentowanej SqlString przez parametr .

Uwagi

Równoważną metodą dla tego operatora jest SqlString.ToSqlDecimal()

Zobacz też

Dotyczy

Explicit(SqlSingle to SqlDecimal)

Źródło:
SQLDecimal.cs
Źródło:
SQLDecimal.cs
Źródło:
SQLDecimal.cs

Konwertuje podaną SqlSingle strukturę 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 , która ma zostać przekonwertowana.

Zwraca

Nowa SqlDecimal struktura, której Value właściwość jest równa Value parametrowi SqlSingle .

Uwagi

Równoważną metodą dla tego operatora jest SqlSingle.ToSqlDecimal()

Zobacz też

Dotyczy

Explicit(SqlDecimal to Decimal)

Źródło:
SQLDecimal.cs
Źródło:
SQLDecimal.cs
Źródło:
SQLDecimal.cs

Konwertuje SqlDecimal 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

x
SqlDecimal

Struktura SqlDecimal , która ma zostać przekonwertowana.

Zwraca

Nowa Decimal struktura, której wartość jest równa Value parametrowi SqlDecimal .

Zobacz też

Dotyczy

Explicit(SqlBoolean to SqlDecimal)

Źródło:
SQLDecimal.cs
Źródło:
SQLDecimal.cs
Źródło:
SQLDecimal.cs

Konwertuje podaną SqlBoolean strukturę 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 , która ma zostać przekonwertowana.

Zwraca

Nowa SqlDecimal struktura, której Value wartość jest równa ByteValue wartości parametru SqlBoolean .

Uwagi

Równoważną metodą dla tego operatora jest SqlBoolean.ToSqlDecimal()

Zobacz też

Dotyczy

Explicit(SqlDouble to SqlDecimal)

Źródło:
SQLDecimal.cs
Źródło:
SQLDecimal.cs
Źródło:
SQLDecimal.cs

Konwertuje podaną SqlDouble strukturę 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 , która ma zostać przekonwertowana.

Zwraca

Nowa SqlDecimal struktura, której Value równa się Value parametrowi SqlDouble .

Uwagi

Równoważną metodą dla tego operatora jest SqlDouble.ToSqlDecimal()

Zobacz też

Dotyczy