Dela via


MDXValue Explicit Conversion (MDXValue to Double)

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

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

Syntax

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

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

Parameters

Return Value

Type: System.Double
A double-precision floating-point number.