Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetCodeWindowManagerForView Method
Collapse the table of content
Expand the table of content

LanguageService.GetCodeWindowManagerForView Method

Returns the CodeWindowManager associated with the specified IVsTextView object.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

public CodeWindowManager GetCodeWindowManagerForView(
	IVsTextView view
)

Parameters

view
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView

[in] The IVsTextView object for which to get the associated CodeWindowManager object.

Return Value

Type: Microsoft.VisualStudio.Package.CodeWindowManager
If successful, returns a CodeWindowManager object; otherwise, returns a null value indicating there is no associated CodeWindowManager object for the given IVsTextView object.

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 LanguageService.OnIdle and LanguageService.SynchronizeDropdowns.

Show:
© 2015 Microsoft