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: Boolean
The converted MDX value object into a Boolean object.

See Also

Reference

MDXValue Class

Explicit Overload

Microsoft.AnalysisServices.AdomdServer Namespace