共用方式為


ReportExpression<T> Implicit 轉換 (Nullable<T> to ReportExpression<T>)

Converts a Nullable<T> object to a ReportExpression<T>.

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

語法

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

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

參數

傳回值

型別:Microsoft.ReportingServices.RdlObjectModel.ReportExpression<T>
A ReportExpression<T> object.

請參閱

參考

ReportExpression<T> 結構

Implicit 多載

Microsoft.ReportingServices.RdlObjectModel 命名空間