共用方式為


Inequality 運算子 (ReportExpression, String)

Tests the inequality of two expressions.

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

語法

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

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

參數

傳回值

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