共用方式為


Explicit 轉換 (ReportExpression(T) to T)

Converts the value of a ReportExpression<(Of <(<'T>)>)> to an object of type T.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Public Shared Narrowing Operator CType ( _
    value As ReportExpression(Of T) _
) As T
'用途
Dim input As ReportExpression(Of T)
Dim output As T

output = CType(input, T)
public static explicit operator T (
    ReportExpression<T> value
)
static explicit operator T (
    ReportExpression<T> value
)
JScript 支援自訂轉換的使用,但不支援新轉換的宣告。

傳回值

型別:T
An object of type T.