Delen 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
A 32-bit signed integer.