Partilhar via


Explicit Conversão (MDXValue to Int16)

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

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

Sintaxe

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

Parâmetros

Valor de retorno

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