次の方法で共有


Explicit 変換 (MDXValue to DateTime)

MDXValue オブジェクトを明示的に DateTime に変換します。

名前空間:  Microsoft.AnalysisServices.AdomdServer
アセンブリ:  msmgdsrv (msmgdsrv.dll)

構文

'宣言
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As DateTime
'使用
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 はカスタム キャストの使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

戻り値

型: System. . :: . .DateTime
DateTime です。