LanguageService.CreateCodeWindowManager Method
Instantiates a CodeWindowManager class.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Overridable Function CreateCodeWindowManager ( _
codeWindow As IVsCodeWindow, _
source As Source _
) As CodeWindowManager
public virtual CodeWindowManager CreateCodeWindowManager(
IVsCodeWindow codeWindow,
Source source
)
public:
virtual CodeWindowManager^ CreateCodeWindowManager(
IVsCodeWindow^ codeWindow,
Source^ source
)
abstract CreateCodeWindowManager :
codeWindow:IVsCodeWindow *
source:Source -> CodeWindowManager
override CreateCodeWindowManager :
codeWindow:IVsCodeWindow *
source:Source -> CodeWindowManager
public function CreateCodeWindowManager(
codeWindow : IVsCodeWindow,
source : Source
) : CodeWindowManager
Parameters
- codeWindow
Type: Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow
[in] An IVsCodeWindow object representing a code window.
- source
Type: Microsoft.VisualStudio.Package.Source
[in] A Source object, representing the source file.
Return Value
Type: Microsoft.VisualStudio.Package.CodeWindowManager
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.
.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.