Completion2 Constructor (String^, String^, String^, ImageSource^, String^)

 

Initializes a new instance of Completion2.

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
)

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.

Return to top
Show: