CompletionItem.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(CompletionItem) | Determines whether two completion items are equal. | 
| Equals(Object) | Determines whether the specified object is equal to the current object. | 
Equals(CompletionItem)
- Source:
- CompletionItem.cs
- Source:
- CompletionItem.cs
Determines whether two completion items are equal.
public:
 virtual bool Equals(System::CommandLine::Completions::CompletionItem ^ other);protected:
 bool Equals(System::CommandLine::Completions::CompletionItem ^ other);public bool Equals(System.CommandLine.Completions.CompletionItem? other);protected bool Equals(System.CommandLine.Completions.CompletionItem other);override this.Equals : System.CommandLine.Completions.CompletionItem -> boolPublic Function Equals (other As CompletionItem) As BooleanProtected Function Equals (other As CompletionItem) As BooleanParameters
- other
- CompletionItem
Returns
Implements
Applies to
Equals(Object)
- Source:
- CompletionItem.cs
- Source:
- CompletionItem.cs
Determines whether the specified object is equal to the current object.
public:
 override bool Equals(System::Object ^ obj);public override bool Equals(object? obj);override this.Equals : obj -> boolPublic Overrides Function Equals (obj As Object) As BooleanParameters
- obj
- Object
The object to compare with the current object.
Returns
true if the specified object  is equal to the current object; otherwise, false.