共用方式為


Explicit 轉換 (MDXValue to Level)

Explicitly converts an MDXValue object to a Level.

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

語法

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

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