LanguageService.CreateCodeWindowManager(IVsCodeWindow, Source) Method

Definition

Instantiates a CodeWindowManager class.

public virtual Microsoft.VisualStudio.Package.CodeWindowManager CreateCodeWindowManager (Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow codeWindow, Microsoft.VisualStudio.Package.Source source);
Parameters
codeWindow
IVsCodeWindow

[in] An IVsCodeWindow object representing a code window.

source
Source

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

Returns

If successful, returns an instance of a CodeWindowManager class; otherwise, returns a null value.

Remarks

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.

Applies to