Condividi tramite


Conversione Explicit (MDXValue to Int32)

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

Spazio dei nomi:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Sintassi

'Dichiarazione
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As Integer
'Utilizzo
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 supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.

Valore restituito

Tipo: System. . :: . .Int32
A 32-bit signed integer.