Partager via


Conversion MDXValue Explicit (MDXValue to Single)

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

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (en msmgdsrv.dll)

Syntaxe

'Déclaration
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As Single
'Utilisation
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 prend en charge l'utilisation de conversions personnalisées, mais pas la déclaration de nouvelles conversions.

Paramètres

Valeur de retour

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

Voir aussi

Référence

MDXValue Classe

Surcharge Explicit

Espace de noms Microsoft.AnalysisServices.AdomdServer