MDXValue Explicit 轉換 (Decimal to MDXValue)

Explicitly converts a decimal value to an MDXValue object.

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.dll 中)

語法

'宣告
Public Shared Narrowing Operator CType ( _
    parameter As Decimal _
) As MDXValue
'用途
Dim input As Decimal 
Dim output As MDXValue 

output = CType(input, MDXValue)
public static explicit operator MDXValue (
    decimal parameter
)
static explicit operator MDXValue^ (
    Decimal parameter
)
JScript 支援自訂轉換的使用,但不支援新轉換的宣告。

參數

傳回值

型別:Microsoft.AnalysisServices.AdomdServer.MDXValue
The converted decimal object into a MDX value object.

請參閱

參考

MDXValue 類別

Explicit 多載

Microsoft.AnalysisServices.AdomdServer 命名空間