Dela via


MDXValue Explicit Conversion (MDXValue to Int16)

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

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

Syntax

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

Parameters

Return Value

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