Share via


MDXValue Implicit Conversion (Hierarchy to MDXValue)

Implicitly converts a Hierarchy to an MDXValue object.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    parameter As Hierarchy _
) As MDXValue
'Usage
Dim input As Hierarchy
Dim output As MDXValue

output = CType(input, MDXValue)
public static implicit operator MDXValue (
    Hierarchy parameter
)
static implicit operator MDXValue^ (
    Hierarchy^ parameter
)
JScript supports the use of custom casts, but not the declaration of new ones.