Partilhar via


Explicit Conversão (MDXValue to Single)

Explicitly converts an MDXValue object to a single-precision floating-point number.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (em msmgdsrv.dll)

Sintaxe

'Declaração
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As Single
'Uso
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 dá suporte ao uso de casts personalizados, mas não à declaração de casts novos.

Parâmetros

Valor de retorno

Tipo: System. . :: . .Single
A single-precision floating-point number.