Verifies whether a rule is equal to another rule.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Function Equals ( _
rule As Rule _
) As Boolean
'Usage
Dim instance As Rule
Dim rule As Rule
Dim returnValue As Boolean
returnValue = instance.Equals(rule)
public bool Equals(
Rule rule
)
public:
bool Equals(
Rule^ rule
)
public function Equals(
rule : Rule
) : boolean
Parameters
rule
Type: Microsoft.VisualStudio.Modeling.RuleThe other rule.
Return Value
Type: System.Boolean
true if the rule is equal to another rule; 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.