共用方式為


Explicit 轉換 (MDXValue to SByte)

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

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

語法

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

output = CType(input, SByte)
public static explicit operator sbyte (
    MDXValue mpMDXValue
)
static explicit operator signed char (
    MDXValue^ mpMDXValue
)
JScript 支援自訂轉換的使用,但不支援新轉換的宣告。

傳回值

型別:System. . :: . .SByte
An 8-bit signed integer.