共用方式為


Implicit 轉換 (Boolean to MDXValue)

Implicitly converts a Boolean to an MDXValue object.

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.dll 中)

語法

'宣告
Public Shared Widening Operator CType ( _
    parameter As Boolean _
) As MDXValue
'用途
Dim input As Boolean
Dim output As MDXValue

output = CType(input, MDXValue)
public static implicit operator MDXValue (
    bool parameter
)
static implicit operator MDXValue^ (
    bool parameter
)
JScript 支援自訂轉換的使用,但不支援新轉換的宣告。

參數