共用方式為


Rule.Inequality Operator

Verifies whether two rules are not equal.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public Shared Operator <> ( _
    lhs As Rule, _
    rhs As Rule _
) As Boolean
public static bool operator !=(
    Rule lhs,
    Rule rhs
)
public:
static bool operator !=(
    Rule^ lhs, 
    Rule^ rhs
)
static let inline (<>)
        lhs:Rule * 
        rhs:Rule  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
true if the rules are not equal; otherwise, false.

.NET Framework Security

See Also

Reference

Rule Class

Microsoft.VisualStudio.Modeling Namespace