Conversione Explicit (MDXValue to Single)
Explicitly converts an MDXValue object to a single-precision floating-point number.
Spazio dei nomi Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
Sintassi
'Dichiarazione
Public Shared Narrowing Operator CType ( _
mpMDXValue As MDXValue _
) As Single
'Utilizzo
Dim input As MDXValue
Dim output As Single
output = CType(input, Single)
public static explicit operator float (
MDXValue mpMDXValue
)
static explicit operator float (
MDXValue^ mpMDXValue
)
JScript supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.
Parametri
- mpMDXValue
Tipo: Microsoft.AnalysisServices.AdomdServer. . :: . .MDXValue
An MDXValue object.
Valore restituito
Tipo: System. . :: . .Single
A single-precision floating-point number.