DecimalValue.FromDecimal(Decimal) 方法

定义

返回从Decimal值创建的新 DecimalValue 对象。

public static DocumentFormat.OpenXml.DecimalValue FromDecimal (decimal value);
static member FromDecimal : decimal -> DocumentFormat.OpenXml.DecimalValue
Public Shared Function FromDecimal (value As Decimal) As DecimalValue

参数

value
Decimal

用于 Decimal 创建新 DecimalValue 对象的值。

返回

DecimalValue value 参数对应的 对象。

适用于