Condividi tramite


Conversione Explicit (MDXValue to Int16)

Explicitly converts an MDXValue object to a 16-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 Short
'Utilizzo
Dim input As MDXValue
Dim output As Short

output = CType(input, Short)
public static explicit operator short (
    MDXValue mpMDXValue
)
static explicit operator short (
    MDXValue^ mpMDXValue
)
JScript supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.

Valore restituito

Tipo: System. . :: . .Int16
A 16-bit signed integer.