Condividi tramite


Conversione Explicit (MDXValue to Level)

Explicitly converts an MDXValue object to a Level.

Spazio dei nomi:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Sintassi

'Dichiarazione
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As Level
'Utilizzo
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 supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.