SuggestionItemOptions(String, String) Constructor

Definition

Creates instance of SuggestionItemOptions with specified tooltip text and text to display in absence of user input. Provide this instance to CompletionContext to activate suggestion mode.

public:
 SuggestionItemOptions(System::String ^ displayTextWhenEmpty, System::String ^ toolTipText);
public SuggestionItemOptions (string displayTextWhenEmpty, string toolTipText);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions : string * string -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions
Public Sub New (displayTextWhenEmpty As String, toolTipText As String)

Parameters

displayTextWhenEmpty
String

DisplayText to use when user has not typed anything

toolTipText
String

Localized tooltip text for the suggestion item

Applies to