CompletionFilterWithState.WithAvailability(Boolean) Method

Definition

Returns instance of CompletionFilterWithState with specified IsAvailable. Use this method when entered text changes availability of relevant CompletionItems.

public:
 Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionFilterWithState ^ WithAvailability(bool isAvailable);
public Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState WithAvailability (bool isAvailable);
member this.WithAvailability : bool -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState
Public Function WithAvailability (isAvailable As Boolean) As CompletionFilterWithState

Parameters

isAvailable
Boolean

Value to use for IsAvailable

Returns

Updated instance of CompletionFilterWithState

Applies to