共用方式為


ReportExpression<T>.Equality 運算子 (ReportExpression<T>, String)

Tests the equality between an expression and a ReportExpression<T> object.

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

語法

'宣告
Public Shared Operator = ( _
    left As ReportExpression(Of T), _
    right As String _
) As Boolean
'用途
Dim left As ReportExpression(Of T)
Dim right As String 
Dim returnValue As Boolean 

returnValue = (left = right)
public static bool operator ==(
    ReportExpression<T> left,
    string right
)
public:
static bool operator ==(
    ReportExpression<T> left, 
    String^ right
)
static let inline(=)
        left:ReportExpression<'T> * 
        right:string  : bool
JScript 支援多載運算子的使用,但不支援新運算子的宣告。

參數

傳回值

型別:System.Boolean
True if the expression if equal to the ReportExpression<T> object; otherwise, false.

請參閱

參考

ReportExpression<T> 結構

Equality 多載

Microsoft.ReportingServices.RdlObjectModel 命名空間