Condividi tramite


Conversione Explicit (MDXValue to Decimal)

Explicitly converts an MDXValue object to a decimal.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Sintassi

'Dichiarazione
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As Decimal
'Utilizzo
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 supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.

Valore restituito

Tipo: System. . :: . .Decimal
A decimal.