Freigeben über


CodeWindowManager(LanguageService, IVsCodeWindow, Source) Constructor

Definition

The CodeWindowManager is constructed by the base LanguageService class when VS calls the IVsLanguageInfo.GetCodeWindowManager method. You can override CreateCodeWindowManager on your LanguageService if you want to plug in a different CodeWindowManager.

public:
 CodeWindowManager(Microsoft::VisualStudio::Package::LanguageService ^ service, Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow ^ codeWindow, Microsoft::VisualStudio::Package::Source ^ source);
public CodeWindowManager (Microsoft.VisualStudio.Package.LanguageService service, Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow codeWindow, Microsoft.VisualStudio.Package.Source source);
new Microsoft.VisualStudio.Package.CodeWindowManager : Microsoft.VisualStudio.Package.LanguageService * Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow * Microsoft.VisualStudio.Package.Source -> Microsoft.VisualStudio.Package.CodeWindowManager
Public Sub New (service As LanguageService, codeWindow As IVsCodeWindow, source As Source)

Parameters

service
LanguageService

[in] The LanguageService object representing the language service.

codeWindow
IVsCodeWindow

[in] The IVsCodeWindow object supplied by Visual Studio that is to be managed by the CodeWindowManager class.

source
Source

[in] The Source object associated with the source file to be shown in the code window.

Remarks

This constructor also calls Microsoft.VisualStudio.Package.LanguageService.CreateDocumentProperties to obtain a Microsoft.Office.Core.DocumentProperties object that represents the properties of the source file.

Applies to