CompletionSet Constructor
Initializes a new instance of the CompletionSet class.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
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..
source
Type: Microsoft.VisualStudio.Package.Source[in] A Source object representing the source file to be affected by the completion list. This cannot be nulla null reference (Nothing in Visual Basic).
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.