Completion2 Constructor (String^, String^, String^, ImageSource^, String^, IEnumerable<CompletionIcon^>^)

 

Initializes a new instance of Completion2 with the specified text and icon.

Namespace:   Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

public:
Completion2(
	String^ displayText,
	String^ insertionText,
	String^ description,
	ImageSource^ iconSource,
	String^ iconAutomationText,
	IEnumerable<CompletionIcon^>^ 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.

iconSource
Type: System.Windows.Media::ImageSource^

The icon to describe the completion item.

iconAutomationText
Type: System::String^

The automation name for the icon.

attributeIcons
Type: System.Collections.Generic::IEnumerable<CompletionIcon^>^

Additional icons shown to the right of the DisplayText.

Return to top
Show: