TypeAndMemberDropdownBars(LanguageService) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the TypeAndMemberDropdownBars class.
protected:
TypeAndMemberDropdownBars(Microsoft::VisualStudio::Package::LanguageService ^ languageService);
protected TypeAndMemberDropdownBars (Microsoft.VisualStudio.Package.LanguageService languageService);
new Microsoft.VisualStudio.Package.TypeAndMemberDropdownBars : Microsoft.VisualStudio.Package.LanguageService -> Microsoft.VisualStudio.Package.TypeAndMemberDropdownBars
Protected Sub New (languageService As LanguageService)
Parameters
- languageService
- 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.