CompletionSelection Class
Represents the current selection within an ICompletionSession.
public class CompletionSelection
- Inheritance:
- object object
Constructors
CompletionSelection(ICompletionItem, CompletionSelectionState)
Represents the current selection within an ICompletionSession.
public CompletionSelection(ICompletionItem item, CompletionSelectionState state)
| Parameter | Type | Description |
|---|---|---|
| item | ICompletionItem | The ICompletionItem that is selected. |
| state | CompletionSelectionState | A CompletionSelectionState indicating the selection state of Item. |
Properties
Item
The ICompletionItem that is selected.
State
A CompletionSelectionState indicating the selection state of Item.
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
| Parameter | Type | Description |
|---|---|---|
| obj | object | The object to compare with the current object. |
Returns
- bool:
trueif the specified object is equal to the current object; otherwise,false.
GetHashCode()
Serves as the default hash function.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object, object)
- object.ReferenceEquals(object, object)