Export (0) Print
Expand All
Expand Minimize

LanguageService.CreateCodeWindowManager Method

Instantiates a CodeWindowManager class.

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

public virtual CodeWindowManager CreateCodeWindowManager(
	IVsCodeWindow codeWindow,
	Source source
)

Parameters

codeWindow
Type: Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow

[in] An IVsCodeWindow object representing a code window.

source
Type: Microsoft.VisualStudio.Package.Source

[in] A Source object, representing the source file.

Return Value

Type: Microsoft.VisualStudio.Package.CodeWindowManager
If successful, returns an instance of a CodeWindowManager class; otherwise, returns a null value.

The base method always returns a new instance of a CodeWindowManager class. If you derive a class from CodeWindowManager, you must override this method to return an instance of your class.

Show:
© 2014 Microsoft