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)
Determines whether two completion items are equal.
protected:
bool Equals(System::CommandLine::Completions::CompletionItem ^ other);
protected bool Equals (System.CommandLine.Completions.CompletionItem other);
override this.Equals : System.CommandLine.Completions.CompletionItem -> bool
Protected Function Equals (other As CompletionItem) As Boolean
Parameters
- other
- CompletionItem
Returns
Applies to
Equals(Object)
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 -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Parameters
- obj
- Object
The object to compare with the current object.
Returns
true
if the specified object is equal to the current object; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.