Delen via


MDXValue Explicit Conversion (MDXValue to Boolean)

Explicitly converts an MDXValue object to a Boolean value.

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

Syntax

'Declaration
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As Boolean
'Usage
Dim input As MDXValue
Dim output As Boolean

output = CType(input, Boolean)
public static explicit operator bool (
    MDXValue mpMDXValue
)
static explicit operator bool (
    MDXValue^ mpMDXValue
)
JScript supports the use of custom casts, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
A Boolean value.