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
lhs
Type: Microsoft.VisualStudio.Modeling.RuleThe first rule to compare.
rhs
Type: Microsoft.VisualStudio.Modeling.RuleThe 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.