MDXValue Explicit 轉換 (MDXValue to UInt16)
Explicitly converts an MDXValue object to a 16-bit unsigned integer.
命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (在 msmgdsrv.dll 中)
語法
'宣告
Public Shared Narrowing Operator CType ( _
mpMDXValue As MDXValue _
) As UShort
'用途
Dim input As MDXValue
Dim output As UShort
output = CType(input, UShort)
public static explicit operator ushort (
MDXValue mpMDXValue
)
static explicit operator unsigned short (
MDXValue^ mpMDXValue
)
JScript 支援自訂轉換的使用,但不支援新轉換的宣告。
參數
- mpMDXValue
型別:Microsoft.AnalysisServices.AdomdServer.MDXValue
An MDXValue object.
傳回值
型別:System.UInt16
The converted MDX value object into a 16-bit unsigned integer.