DecimalValue.ToDecimal(DecimalValue) 方法

定义

返回 Decimal 对象的表示形式 DecimalValue

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

参数

xmlAttributevalue
DecimalValue

返回

一个DecimalDecimalValue表示 对象的 值。

适用于