Explicit 转换 (MDXValue to Byte)

Explicitly converts an MDXValue object to an 8-bit unsigned integer.

命名空间:  Microsoft.AnalysisServices.AdomdServer
程序集:  msmgdsrv(在 msmgdsrv.dll 中)

语法

声明
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As Byte
用法
Dim input As MDXValue
Dim output As Byte

output = CType(input, Byte)
public static explicit operator byte (
    MDXValue mpMDXValue
)
static explicit operator unsigned char (
    MDXValue^ mpMDXValue
)
JScript 支持使用自定义转换,但不支持声明新自定义转换。

返回值

类型:System. . :: . .Byte
An 8-bit unsigned integer.