Condividi tramite


Conversione Explicit (Hierarchy to MDXValue)

Explicitly converts a Hierarchy to an MDXValue object.

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

Sintassi

'Dichiarazione
Public Shared Narrowing Operator CType ( _
    parameter As Hierarchy _
) As MDXValue
'Utilizzo
Dim input As Hierarchy
Dim output As MDXValue

output = CType(input, MDXValue)
public static explicit operator MDXValue (
    Hierarchy parameter
)
static explicit operator MDXValue^ (
    Hierarchy^ parameter
)
JScript supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.