Freigeben über


Rule.Equality Operator

Verifies whether two rules are equal.

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

Syntax

'Declaration
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 equal; otherwise, false.

.NET Framework Security

See Also

Reference

Rule Class

Microsoft.VisualStudio.Modeling Namespace