Condividi tramite


Conversione Explicit (Boolean to MDXValue)

Explicitly converts a Boolean value to an MDXValue object.

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

Sintassi

'Dichiarazione
Public Shared Narrowing Operator CType ( _
    parameter As Boolean _
) As MDXValue
'Utilizzo
Dim input As Boolean
Dim output As MDXValue

output = CType(input, MDXValue)
public static explicit operator MDXValue (
    bool parameter
)
static explicit operator MDXValue^ (
    bool parameter
)
JScript supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.

Parametri