Bagikan melalui


CompletionSet Constructor

Initializes a new instance of the CompletionSet class.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Declaration
Public Sub New ( _
    imageList As ImageList, _
    source As Source _
)
public CompletionSet(
    ImageList imageList,
    Source source
)
public:
CompletionSet(
    ImageList^ imageList, 
    Source^ source
)
new : 
        imageList:ImageList * 
        source:Source -> CompletionSet
public function CompletionSet(
    imageList : ImageList, 
    source : Source
)

Parameters

  • imageList
    Type: System.Windows.Forms.ImageList
    [in] An ImageList object containing the images to be used in the completion list display. This cannot be nulla null reference (Nothing in Visual Basic). It can however, be an empty list..

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.

.NET Framework Security

See Also

Reference

CompletionSet Class

Microsoft.VisualStudio.Package Namespace