SqlMoney.Implicit Operator
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts to a SqlMoney structure.
Implicit(Int64 to SqlMoney) |
This implicit operator converts the supplied Int64 parameter to SqlMoney. |
Implicit(Decimal 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. |
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
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
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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
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
Returns
A new SqlMoney structure whose Value equals the value of the Decimal parameter.
See also
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
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
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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
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
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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
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
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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
- Source:
- SQLMoney.cs
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
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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: