Share via


ReportExpression<T> Explicit Conversion (ReportExpression<T> to T)

Converts the value of a ReportExpression<T> to an object of type T.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Shared Narrowing Operator CType ( _
    value As ReportExpression(Of T) _
) As T
'Usage
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 supports the use of custom casts, but not the declaration of new ones.

Parameters

Return Value

Type: T
An object of type T.

See Also

Reference

ReportExpression<T> Structure

Explicit Overload

Microsoft.ReportingServices.RdlObjectModel Namespace