CodeWindowManager Constructor
Initializes the CodeWindowManager class.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Déclaration
Public Sub New ( _
service As LanguageService, _
codeWindow As IVsCodeWindow, _
source As Source _
)
'Utilisation
Dim service As LanguageService
Dim codeWindow As IVsCodeWindow
Dim source As Source
Dim instance As New CodeWindowManager(service, _
codeWindow, source)
public CodeWindowManager(
LanguageService service,
IVsCodeWindow codeWindow,
Source source
)
public:
CodeWindowManager(
LanguageService^ service,
IVsCodeWindow^ codeWindow,
Source^ source
)
new :
service:LanguageService *
codeWindow:IVsCodeWindow *
source:Source -> CodeWindowManager
public function CodeWindowManager(
service : LanguageService,
codeWindow : IVsCodeWindow,
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.