DecimalValue.Implicit Operator
Definition
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.
Overloads
Implicit(Decimal to DecimalValue) |
Initializes a new instance of the DecimalValue class by implicitly converting the supplied Decimal value. |
Implicit(DecimalValue to Decimal) |
Implicitly converts the specified value to a Decimal value. |
Implicit(Decimal to DecimalValue)
Initializes a new instance of the DecimalValue class by implicitly converting the supplied Decimal value.
public static implicit operator DocumentFormat.OpenXml.DecimalValue (decimal value);
static member op_Implicit : decimal -> DocumentFormat.OpenXml.DecimalValue
Public Shared Widening Operator CType (value As Decimal) As DecimalValue
Parameters
Returns
A new DecimalValue instance with the value.
Applies to
Implicit(DecimalValue to Decimal)
Implicitly converts the specified value to a Decimal value.
public static implicit operator decimal (DocumentFormat.OpenXml.DecimalValue xmlAttribute);
public static implicit operator decimal (DocumentFormat.OpenXml.DecimalValue value);
static member op_Implicit : DocumentFormat.OpenXml.DecimalValue -> decimal
static member op_Implicit : DocumentFormat.OpenXml.DecimalValue -> decimal
Public Shared Widening Operator CType (xmlAttribute As DecimalValue) As Decimal
Public Shared Widening Operator CType (value As DecimalValue) As Decimal
Parameters
- xmlAttributevalue
- DecimalValue
Returns
The converted Decimal value.
Exceptions
Thrown when value
is null.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應