다음을 통해 공유


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.dll의 Microsoft.ReportingServices.Designer.Controls

구문

‘선언
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.