共用方式為


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

'宣告
Protected Sub New ( _
    languageService As LanguageService _
)
'用途
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