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
- mpMDXValue
Type: Microsoft.AnalysisServices.AdomdServer.MDXValue
An MDXValue object.
Return Value
Type: System.Decimal
A decimal.
See Also