共用方式為


Explicit 轉換 (UInt16 to MDXValue)

Explicitly converts a 16-bit unsigned integer to an MDXValue object.

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

語法

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

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

參數