MDXValue Explicit Conversion (MDXValue to DateTime)

Explicitly converts an MDXValue object to a DateTime.

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

Syntax

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

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

Parameters

Return Value

Type: System.DateTime
A DateTime.