Share via


MDXValue Explicit Conversion (MDXValue to Decimal)

Explicitly converts an MDXValue object to a decimal.

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

Syntax

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

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

Parameters

Return Value

Type: Decimal
The converted MDX value object into a decimal.

See Also

Reference

MDXValue Class

Explicit Overload

Microsoft.AnalysisServices.AdomdServer Namespace