Partager via


Explicit conversion (ReportExpression(T) to T)

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

Espace de noms :  Microsoft.ReportingServices.RdlObjectModel
Assembly :  Microsoft.ReportingServices.Designer.Controls (dans Microsoft.ReportingServices.Designer.Controls.dll)

Syntaxe

'Déclaration
Public Shared Narrowing Operator CType ( _
    value As ReportExpression(Of T) _
) As T
'Utilisation
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 prend en charge l'utilisation de conversions personnalisées, mais pas la déclaration de nouvelles conversions.

Valeur de retour

Type : T
An object of type T.