Dela via


MDXValue Implicit Conversion (DateTime to MDXValue)

Implicitly converts a DateTime to an MDXValue object.

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

Syntax

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

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

Parameters