다음을 통해 공유


TypeAndMemberDropdownBars(LanguageService) Constructor

Definition

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.

Applies to