Condividi tramite


TypeAndMemberDropdownBars Constructor

Initializes a new instance of the TypeAndMemberDropdownBars class.

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

Syntax

'Dichiarazione
Protected Sub New ( _
    languageService As LanguageService _
)
'Utilizzo
Dim languageService As LanguageService

Dim instance As New TypeAndMemberDropdownBars(languageService)
protected TypeAndMemberDropdownBars(
    LanguageService languageService
)
protected:
TypeAndMemberDropdownBars(
    LanguageService^ languageService
)
new : 
        languageService:LanguageService -> TypeAndMemberDropdownBars
protected function TypeAndMemberDropdownBars(
    languageService : LanguageService
)

Parameters

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

See Also

Reference

TypeAndMemberDropdownBars Class

TypeAndMemberDropdownBars Members

Microsoft.VisualStudio.Package Namespace