Compartilhar via


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);
public virtual Microsoft.VisualStudio.Package.CodeWindowManager CreateCodeWindowManager (Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow codeWindow, Microsoft.VisualStudio.Package.Source source);
abstract member CreateCodeWindowManager : Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow * Microsoft.VisualStudio.Package.Source -> Microsoft.VisualStudio.Package.CodeWindowManager
override this.CreateCodeWindowManager : Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow * Microsoft.VisualStudio.Package.Source -> Microsoft.VisualStudio.Package.CodeWindowManager
Public Overridable Function CreateCodeWindowManager (codeWindow As IVsCodeWindow, source As Source) As CodeWindowManager

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