CompletionExpander(String, String, ImageElement) Constructor

Definition

Constructs an instance of CompletionExpander.

public:
 CompletionExpander(System::String ^ displayText, System::String ^ accessKey, Microsoft::VisualStudio::Text::Adornments::ImageElement ^ image);
public CompletionExpander (string displayText, string accessKey, Microsoft.VisualStudio.Text.Adornments.ImageElement image);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionExpander : string * string * Microsoft.VisualStudio.Text.Adornments.ImageElement -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionExpander
Public Sub New (displayText As String, accessKey As String, image As ImageElement)

Parameters

displayText
String

Name of this expander

accessKey
String

Key used in a keyboard shortcut that toggles this expander

image
ImageElement

Image which represents this expander

Applies to