Condividi tramite


Conversione Explicit (MDXValue to UInt16)

Explicitly converts an MDXValue object to a 16-bit unsigned integer.

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

Sintassi

'Dichiarazione
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As UShort
'Utilizzo
Dim input As MDXValue
Dim output As UShort

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

Valore restituito

Tipo: System. . :: . .UInt16
A 16-bit unsigned integer.