Partager via


Conversion Explicit (MDXValue to Int32)

Explicitly converts an MDXValue object to a 32-bit signed integer.

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

Syntaxe

'Déclaration
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As Integer
'Utilisation
Dim input As MDXValue
Dim output As Integer

output = CType(input, Integer)
public static explicit operator int (
    MDXValue mpMDXValue
)
static explicit operator int (
    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. . :: . .Int32
A 32-bit signed integer.