SuggestionItemOptions(String, String) Constructor
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.
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