Bewerken

Delen via


SqlMoney.Implicit Operator

Definition

Converts to a SqlMoney structure.

Overloads

Implicit(Int64 to SqlMoney)

This implicit operator converts the supplied Int64 parameter to SqlMoney.

Implicit(Decimal to SqlMoney)

Converts the Decimal parameter to SqlMoney.

Implicit(SqlInt64 to SqlMoney)

This implicit operator converts the supplied SqlInt64 parameter to SqlMoney.

Implicit(SqlInt16 to SqlMoney)

This implicit operator converts the supplied SqlInt16 parameter to SqlMoney.

Implicit(SqlByte to SqlMoney)

This implicit operator converts the supplied SqlByte parameter to SqlMoney.

Implicit(SqlInt32 to SqlMoney)

This implicit operator converts the supplied SqlInt32 parameter to SqlMoney.

Implicit(Int64 to SqlMoney)

Source:
SQLMoney.cs
Source:
SQLMoney.cs
Source:
SQLMoney.cs

This implicit operator converts the supplied Int64 parameter to SqlMoney.

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

Parameters

x
Int64

The Int64 structure to be converted.

Returns

A new SqlMoney structure whose Value property is equal to the value of the Int64 parameter.

Remarks

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

See also

Applies to

Implicit(Decimal to SqlMoney)

Source:
SQLMoney.cs
Source:
SQLMoney.cs
Source:
SQLMoney.cs

Converts the Decimal parameter to SqlMoney.

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

Parameters

x
Decimal

The Decimal value to be converted.

Returns

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

See also

Applies to

Implicit(SqlInt64 to SqlMoney)

Source:
SQLMoney.cs
Source:
SQLMoney.cs
Source:
SQLMoney.cs

This implicit operator converts the supplied SqlInt64 parameter to SqlMoney.

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

Parameters

x
SqlInt64

The SqlInt64 structure to be converted.

Returns

A new SqlMoney structure whose Value property equals the Value of the SqlInt64 parameter.

Remarks

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

See also

Applies to

Implicit(SqlInt16 to SqlMoney)

Source:
SQLMoney.cs
Source:
SQLMoney.cs
Source:
SQLMoney.cs

This implicit operator converts the supplied SqlInt16 parameter to SqlMoney.

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

Parameters

x
SqlInt16

The SqlInt16 structure to be converted.

Returns

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

Remarks

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

See also

Applies to

Implicit(SqlByte to SqlMoney)

Source:
SQLMoney.cs
Source:
SQLMoney.cs
Source:
SQLMoney.cs

This implicit operator converts the supplied SqlByte parameter to SqlMoney.

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

Parameters

x
SqlByte

The SqlByte structure to be converted.

Returns

A new SqlMoney structure whose Value property is equal to the Value of the SqlByte parameter.

Remarks

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

See also

Applies to

Implicit(SqlInt32 to SqlMoney)

Source:
SQLMoney.cs
Source:
SQLMoney.cs
Source:
SQLMoney.cs

This implicit operator converts the supplied SqlInt32 parameter to SqlMoney.

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

Parameters

x
SqlInt32

The SqlInt32 structure to be converted.

Returns

A new SqlMoney structure whose Value property equals the Value of the SqlInt32 parameter.

Remarks

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

See also

Applies to