Completion3 Constructor (String^, String^, String^, ImageMoniker, String^, IEnumerable<CompletionIcon2^>^)
Initializes a new instance of Completion3 with the specified text, description, and icon. /// </summary> /// <param name="displayText"> </param> /// <param name="insertionText"> </param> /// <param name="description"> </param> /// <param name="iconMoniker"> </param> /// <param name="iconAutomationText"> </param> /// <param name="attributeIcons"> </param>
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
public:
Completion3(
String^ displayText,
String^ insertionText,
String^ description,
ImageMoniker iconMoniker,
String^ iconAutomationText,
IEnumerable<CompletionIcon2^>^ attributeIcons
)
Parameters
- displayText
-
Type:
System::String^
The text that is to be displayed by an IntelliSense presenter.
- insertionText
-
Type:
System::String^
The text that is to be inserted into the buffer if this completion is committed.
- description
-
Type:
System::String^
A description that could be displayed with the display text of the completion.
- iconMoniker
-
Type:
Microsoft.VisualStudio.Imaging.Interop::ImageMoniker
The icon to describe the completion item.
- iconAutomationText
-
Type:
System::String^
The automation name for the icon.
- attributeIcons
-
Type:
System.Collections.Generic::IEnumerable<CompletionIcon2^>^
Additional icons shown to the right of the DisplayText.