Rule.Equals Method 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Equals(Rule) | 
						 Equals operator  | 
        	
| Equals(Object) | 
						 Equals operator  | 
        	
Equals(Rule)
Equals operator
public:
 bool Equals(Microsoft::VisualStudio::Modeling::Rule ^ rule);
	public bool Equals(Microsoft.VisualStudio.Modeling.Rule rule);
	override this.Equals : Microsoft.VisualStudio.Modeling.Rule -> bool
	Public Function Equals (rule As Rule) As Boolean
	Parameters
- rule
 - Rule
 
rule to compare
Returns
true if the object is equal to this rule
Applies to
Equals(Object)
Equals operator
public:
 override bool Equals(System::Object ^ obj);
	public override bool Equals(object obj);
	override this.Equals : obj -> bool
	Public Overrides Function Equals (obj As Object) As Boolean
	Parameters
- obj
 - Object
 
object to compare
Returns
true if the object is equal to this rule