LanguageService.SynchronizeDropdowns Method ()

 

Called to update a drop-down bar based on the current caret position.

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

public virtual void SynchronizeDropdowns()

This method not typically called unless you call it in your own code.

The base method uses the current active view to get the associated CodeWindowManager object, and then asks the CodeWindowManager object for the TypeAndMemberDropdownBars object. If that object exists, this method calls OnSynchronizeDropdowns with the current caret position.

Note that the default LanguageService.OnIdle calls OnCaretMoved which calls TypeAndMemberDropdownBars.SynchronizeDropdowns directly if the TypeAndMemberDropdownBars object exists in the CodeWindowManager object.

Return to top
Show: