LanguageService.SynchronizeDropdowns Method
Called to update a drop-down bar based on the current caret position.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
‘선언
Public Overridable Sub SynchronizeDropdowns
public virtual void SynchronizeDropdowns()
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.