Share via


MDXValue Explicit Conversion (Single to MDXValue)

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

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

Syntax

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

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

Parameters

  • parameter
    Type: System.Single
    A single-precision floating-point number.