다음을 통해 공유


Rule.Equality Operator

Verifies whether two rules are equal.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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