CompletionSet(ImageList, Source) Constructor

Definition

Initializes a new instance of the CompletionSet class.

public:
 CompletionSet(System::Windows::Forms::ImageList ^ imageList, Microsoft::VisualStudio::Package::Source ^ source);
public CompletionSet (System.Windows.Forms.ImageList imageList, Microsoft.VisualStudio.Package.Source source);
new Microsoft.VisualStudio.Package.CompletionSet : System.Windows.Forms.ImageList * Microsoft.VisualStudio.Package.Source -> Microsoft.VisualStudio.Package.CompletionSet
Public Sub New (imageList As ImageList, source As Source)

Parameters

imageList
ImageList

[in] An ImageList object containing the images to be used in the completion list display. This cannot be null. It can however, be an empty list..

source
Source

[in] A Source object representing the source file to be affected by the completion list. This cannot be null.

Remarks

If you must derive a class from the CompletionSet class, you must call the base class constructor.

The base constructor caches the image list and Source object.

Applies to