Share via


MDXValue Explicit Conversion (Boolean to MDXValue)

Explicitly converts a Boolean value to an MDXValue object.

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

Syntax

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

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

Parameters

  • parameter
    Type: Boolean
    A Boolean value.

Return Value

Type: Microsoft.AnalysisServices.AdomdServer.MDXValue
The converted Boolean value into a MDX value object.

See Also

Reference

MDXValue Class

Explicit Overload

Microsoft.AnalysisServices.AdomdServer Namespace