Dela via


MDXValue Explicit Conversion (MDXValue to String)

Explicitly converts an MDXValue object to a string.

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

Syntax

'Declaration
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As String
'Usage
Dim input As MDXValue
Dim output As String

output = CType(input, String)
public static explicit operator string (
    MDXValue mpMDXValue
)
static explicit operator String^ (
    MDXValue^ mpMDXValue
)
JScript supports the use of custom casts, but not the declaration of new ones.

Parameters

Return Value

Type: System.String
A string.