Edit

Share via


CompletionItem.Equals Method

Definition

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

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