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
- mpMDXValue
Type: Microsoft.AnalysisServices.AdomdServer.MDXValue
An MDXValue object.
Return Value
Type: Single
The converted MDX value object into a single-precision floating-point number.