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)

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 -> bool
Public Function Equals (other As CompletionItem) As Boolean
Protected Function Equals (other As CompletionItem) As Boolean

Parameters

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 -> 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