Export (0) Print
Expand All
Expand Minimize

Source.CreateCompletionSet Method

Creates a new instance of a CompletionSet class.

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

public virtual CompletionSet CreateCompletionSet()

This method is called from the Source class constructor to create a CompletionSet object that is used for all IntelliSense member completion operations. If you need to derive a class from the CompletionSet class, you must derive a class from the Source class, override this method and instantiate your own CompletionSet class.

The base method always returns a new CompletionSet initialized with an image list obtained by calling the GetImageList method on the LanguageService object passed into the constructor of the Source object.

© 2014 Microsoft