Share via


MDXValue Explicit Conversion (MDXValue to Int32)

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

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

Syntax

'Declaration
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As Integer
'Usage
Dim input As MDXValue 
Dim output As Integer 

output = CType(input, Integer)
public static explicit operator int (
    MDXValue mpMDXValue
)
static explicit operator int (
    MDXValue^ mpMDXValue
)
JScript supports the use of custom casts, but not the declaration of new ones.

Parameters

Return Value

Type: System.Int32
The converted MDX value object into a 32-bit signed integer.

See Also

Reference

MDXValue Class

Explicit Overload

Microsoft.AnalysisServices.AdomdServer Namespace