Partilhar via


Explicit Conversão (MDXValue to UInt16)

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

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (em msmgdsrv.dll)

Sintaxe

'Declaração
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As UShort
'Uso
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 dá suporte ao uso de casts personalizados, mas não à declaração de casts novos.

Parâmetros

Valor de retorno

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