TypeAndMemberDropdownBars::SetDropdownBar Method (IVsDropdownBar^)

 

Called to specify the IVsDropdownBar object that controls the two combo boxes.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int SetDropdownBar(
	IVsDropdownBar^ bar
)

Parameters

bar
Type: Microsoft.VisualStudio.TextManager.Interop::IVsDropdownBar^

[in] The IVsDropdownBar object that controls the two combo boxes.

Return Value

Type: System::Int32

If successful, returns S_OK; otherwise, returns an error code.

This method is an implementation of the SetDropdownBar method on the IVsDropdownBarClient interface.

The base method sets an internal field with the given IVsDropdownBar object. This object is used to refresh the combo boxes in the internal method SynchronizeDropdowns (see the "Notes for Callers" section in the TypeAndMemberDropdownBars class for details on this internal method). The base method always returns a success code of S_OK.

Return to top
Show: