CodeWindowManager Constructor
Initializes the CodeWindowManager class.
Namespace: Microsoft.VisualStudio.Package
Assemblies: 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.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public Sub New ( _
service As LanguageService, _
codeWindow As IVsCodeWindow, _
source As Source _
)
public CodeWindowManager(
LanguageService service,
IVsCodeWindow codeWindow,
Source source
)
Parameters
- service
Type: Microsoft.VisualStudio.Package.LanguageService
[in] The LanguageService object representing the language service.
- codeWindow
Type: Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow
[in] The IVsCodeWindow object supplied by Visual Studio that is to be managed by the CodeWindowManager class.
- source
Type: Microsoft.VisualStudio.Package.Source
[in] The Source object associated with the source file to be shown in the code window.
Remarks
This constructor also calls LanguageService.CreateDocumentProperties to obtain a DocumentProperties object that represents the properties of the source file.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.