Source.CreateCompletionSet Method
Creates a new instance of a 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.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Декларация
Public Overridable Function CreateCompletionSet As CompletionSet
public virtual CompletionSet CreateCompletionSet()
Return Value
Type: Microsoft.VisualStudio.Package.CompletionSet
A CompletionSet object.
Remarks
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.
.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.