共用方式為


Equality 運算子 (String, ReportExpression)

Tests the equality of two expressions.

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

語法

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

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

參數

傳回值

型別:System. . :: . .Boolean
A Boolean value.