SqlDecimal.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 the supplied structure to SqlDecimal.
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. |
- 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
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
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.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 |
.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:
- 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
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
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.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 |
.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:
- 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
Returns
A new SqlDecimal structure whose Value property equals the value of the Decimal
parameter.
See also
Applies to
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.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 |
.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:
- 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
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
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.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 |
.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:
- 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
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
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.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 |
.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:
- 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
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
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.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 |
.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:
- 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
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
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.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 |
.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 |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: