Bewerken

Delen via


SqlDecimal.Implicit Operator

Definition

Converts the supplied structure to SqlDecimal.

Overloads

Implicit(SqlMoney to SqlDecimal)

Converts the SqlMoney operand to SqlDecimal.

Implicit(Int64 to SqlDecimal)

Converts the supplied Int64 structure to SqlDecimal.

Implicit(Decimal to SqlDecimal)

Converts the Decimal value to SqlDecimal.

Implicit(SqlInt64 to SqlDecimal)

Converts the supplied SqlInt64 structure to SqlDecimal.

Implicit(SqlInt32 to SqlDecimal)

Converts the supplied SqlInt32 structure to SqlDecimal.

Implicit(SqlInt16 to SqlDecimal)

Converts the supplied SqlInt16 structure to SqlDecimal.

Implicit(SqlByte to SqlDecimal)

Converts the supplied SqlByte structure to SqlDecimal.

Implicit(SqlMoney to SqlDecimal)

Source:
SQLDecimal.cs
Source:
SQLDecimal.cs
Source:
SQLDecimal.cs

Converts the SqlMoney operand to SqlDecimal.

public:
 static operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlMoney x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlMoney x);
static member op_Implicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As SqlMoney) As SqlDecimal

Parameters

x
SqlMoney

The SqlMoney structure to be converted.

Returns

A new SqlDecimal structure whose Value equals the Value of the SqlMoney parameter.

Remarks

The equivalent method for this operator is SqlMoney.ToSqlDecimal()

See also

Applies to

Implicit(Int64 to SqlDecimal)

Source:
SQLDecimal.cs
Source:
SQLDecimal.cs
Source:
SQLDecimal.cs

Converts the supplied Int64 structure to SqlDecimal.

public:
 static operator System::Data::SqlTypes::SqlDecimal(long x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (long x);
static member op_Implicit : int64 -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As Long) As SqlDecimal

Parameters

x
Int64

The Int64 structure to be converted.

Returns

A new SqlDecimal structure whose Value property equals the value of the Int64 parameter.

Remarks

The equivalent method for this operator is SqlDecimal.Value

See also

Applies to

Implicit(Decimal to SqlDecimal)

Source:
SQLDecimal.cs
Source:
SQLDecimal.cs
Source:
SQLDecimal.cs

Converts the Decimal value to SqlDecimal.

public:
 static operator System::Data::SqlTypes::SqlDecimal(System::Decimal x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (decimal x);
static member op_Implicit : decimal -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As Decimal) As SqlDecimal

Parameters

x
Decimal

The Decimal value to be converted.

Returns

A new SqlDecimal structure whose Value property equals the value of the Decimal parameter.

See also

Applies to

Implicit(SqlInt64 to SqlDecimal)

Source:
SQLDecimal.cs
Source:
SQLDecimal.cs
Source:
SQLDecimal.cs

Converts the supplied SqlInt64 structure to SqlDecimal.

public:
 static operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlInt64 x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlInt64 x);
static member op_Implicit : System.Data.SqlTypes.SqlInt64 -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As SqlInt64) As SqlDecimal

Parameters

x
SqlInt64

The SqlInt64 structure to be converted.

Returns

A new SqlDecimal structure whose Value equals the Value of the SqlInt64 parameter.

Remarks

The equivalent method for this operator is SqlInt64.ToSqlDecimal()

See also

Applies to

Implicit(SqlInt32 to SqlDecimal)

Source:
SQLDecimal.cs
Source:
SQLDecimal.cs
Source:
SQLDecimal.cs

Converts the supplied SqlInt32 structure to SqlDecimal.

public:
 static operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlInt32 x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlInt32 x);
static member op_Implicit : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As SqlInt32) As SqlDecimal

Parameters

x
SqlInt32

The SqlInt32 structure to be converted.

Returns

A new SqlDecimal structure whose Value property is equal to the Value property of the SqlInt32 parameter.

Remarks

The equivalent method for this operator is SqlInt32.ToSqlDecimal()

See also

Applies to

Implicit(SqlInt16 to SqlDecimal)

Source:
SQLDecimal.cs
Source:
SQLDecimal.cs
Source:
SQLDecimal.cs

Converts the supplied SqlInt16 structure to SqlDecimal.

public:
 static operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlInt16 x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlInt16 x);
static member op_Implicit : System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As SqlInt16) As SqlDecimal

Parameters

x
SqlInt16

The SqlInt16 structure to be converted.

Returns

A new SqlDecimal structure whose Value property equals the Value property of the SqlInt16 parameter.

Remarks

The equivalent method for this operator is SqlInt16.ToSqlDecimal()

See also

Applies to

Implicit(SqlByte to SqlDecimal)

Source:
SQLDecimal.cs
Source:
SQLDecimal.cs
Source:
SQLDecimal.cs

Converts the supplied SqlByte structure to SqlDecimal.

public:
 static operator System::Data::SqlTypes::SqlDecimal(System::Data::SqlTypes::SqlByte x);
public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlByte x);
static member op_Implicit : System.Data.SqlTypes.SqlByte -> System.Data.SqlTypes.SqlDecimal
Public Shared Widening Operator CType (x As SqlByte) As SqlDecimal

Parameters

x
SqlByte

The SqlByte structure to be converted.

Returns

A new SqlDecimal structure whose Value property equals the Value property of the SqlByte parameter.

Remarks

The equivalent method for this operator is SqlByte.ToSqlDecimal()

See also

Applies to