MDXValue Explicit Conversion (MDXValue to UInt16)

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

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

Syntax

'Declaration
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As UShort
'Usage
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 supports the use of custom casts, but not the declaration of new ones.

Parameters

Return Value

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