Conversion Explicit (MDXValue to Decimal)
Explicitly converts an MDXValue object to a decimal.
Espace de noms : Microsoft.AnalysisServices.AdomdServer
Assembly : msmgdsrv (en msmgdsrv.dll)
Syntaxe
'Déclaration
Public Shared Narrowing Operator CType ( _
mpMDXValue As MDXValue _
) As Decimal
'Utilisation
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 prend en charge l'utilisation de conversions personnalisées, mais pas la déclaration de nouvelles conversions.
Paramètres
- mpMDXValue
Type : Microsoft.AnalysisServices.AdomdServer. . :: . .MDXValue
An MDXValue object.
Valeur de retour
Type : System. . :: . .Decimal
A decimal.