TypeAndMemberDropdownBars Constructor
Initializes a new instance of the TypeAndMemberDropdownBars 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.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaração
Protected Sub New ( _
languageService As LanguageService _
)
protected TypeAndMemberDropdownBars(
LanguageService languageService
)
Parameters
- languageService
Type: Microsoft.VisualStudio.Package.LanguageService
[in] A LanguageService object representing the language service that uses the combo boxes.
Remarks
This constructor must be called from your class that is derived from the TypeAndMemberDropdownBars class. This means your class constructor must take a LanguageService parameter in addition to any other parameters your class requires.
The base constructor creates a new list for types and a new list for members. These lists are passed to OnSynchronizeDropdowns when the lists need to be updated or filled.
.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.