Partager via


Implicit conversion (Nullable(T) to ReportExpression(T))

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

Syntaxe

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

Paramètres