Completion Constructor (String^, String^, String^, ImageSource^, String^)

 

Initializes a new instance of Completion with the specified text and description.

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

public:
Completion(
	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 can be displayed with the display text of the completion.

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

The icon.

iconAutomationText
Type: System::String^

The text to be used as the automation name for the icon.

Return to top
Show: