Explicit 转换 (MDXValue to Decimal)
Explicitly converts an MDXValue object to a decimal.
命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv(在 msmgdsrv.dll 中)
语法
声明
Public Shared Narrowing Operator CType ( _
mpMDXValue As MDXValue _
) As Decimal
用法
Dim input As MDXValue
Dim output As Decimal
output = CType(input, Decimal)
public static explicit operator decimal (
MDXValue mpMDXValue
)
static explicit operator Decimal (
MDXValue^ mpMDXValue
)
JScript 支持使用自定义转换,但不支持声明新自定义转换。
参数
- mpMDXValue
类型:Microsoft.AnalysisServices.AdomdServer. . :: . .MDXValue
An MDXValue object.
返回值
类型:System. . :: . .Decimal
A decimal.