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
'Declaração
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
- lhs
Type: Microsoft.VisualStudio.Modeling.Rule
The first rule to compare.
- rhs
Type: Microsoft.VisualStudio.Modeling.Rule
The second rule to compare.
Return Value
Type: System.Boolean
true if the rules are equal; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.