LanguageService.GetCodeWindowManagerForView(IVsTextView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the CodeWindowManager associated with the specified IVsTextView object.
public:
Microsoft::VisualStudio::Package::CodeWindowManager ^ GetCodeWindowManagerForView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ view);
Microsoft::VisualStudio::Package::CodeWindowManager GetCodeWindowManagerForView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & view);
public Microsoft.VisualStudio.Package.CodeWindowManager GetCodeWindowManagerForView (Microsoft.VisualStudio.TextManager.Interop.IVsTextView view);
member this.GetCodeWindowManagerForView : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> Microsoft.VisualStudio.Package.CodeWindowManager
Public Function GetCodeWindowManagerForView (view As IVsTextView) As CodeWindowManager
Parameters
- view
- IVsTextView
[in] The IVsTextView object for which to get the associated CodeWindowManager object.
Returns
If successful, returns a CodeWindowManager object; otherwise, returns a null value indicating there is no associated CodeWindowManager object for the given IVsTextView object.
Remarks
Each CodeWindowManager is associated with an IVsTextView object. This method searches an internal list for a CodeWindowManager that has a matching IVsTextView object and returns the found CodeWindowManager object.
In the default language service, this method is called from Microsoft.VisualStudio.Package.LanguageService.OnIdle and Microsoft.VisualStudio.Package.LanguageService.SynchronizeDropdowns.