CompletionFilterWithState.WithAvailability(Boolean) 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.
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