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)


Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As Short
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.


Return Value

Type: System.Int16
The converted MDX value object into a 16-bit signed integer.

See Also


MDXValue Class

Explicit Overload

Microsoft.AnalysisServices.AdomdServer Namespace