Partager via


Explicit conversion (MDXValue to UInt16)

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

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (dans msmgdsrv.dll)

Syntaxe

'Déclaration
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As UShort
'Utilisation
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 prend en charge l'utilisation de conversions personnalisées, mais pas la déclaration de nouvelles conversions.

Paramètres

Valeur de retour

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