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)


Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As Single
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.


Return Value

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

See Also


MDXValue Class

Explicit Overload

Microsoft.AnalysisServices.AdomdServer Namespace