Share via


MDXValue Explicit Conversion (MDXValue to Single)

Explicitly converts an MDXValue object to a single-precision floating-point number.

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

Syntax

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

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

Parameters

Return Value

Type: System.Single
The converted MDX value object into a single-precision floating-point number.

See Also

Reference

MDXValue Class

Explicit Overload

Microsoft.AnalysisServices.AdomdServer Namespace