Rule.Equals Method (Rule)
Verifies whether a rule is equal to another rule.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Function Equals ( _
rule As Rule _
) As Boolean
public bool Equals(
Rule rule
)
public:
bool Equals(
Rule^ rule
)
member Equals :
rule:Rule -> bool
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.