LanguageService.CreateCodeWindowManager Method
Instantiates a CodeWindowManager class.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Overridable Function CreateCodeWindowManager ( _
codeWindow As IVsCodeWindow, _
source As Source _
) As CodeWindowManager
'Usage
Dim instance As LanguageService
Dim codeWindow As IVsCodeWindow
Dim source As Source
Dim returnValue As CodeWindowManager
returnValue = instance.CreateCodeWindowManager(codeWindow, _
source)
public virtual CodeWindowManager CreateCodeWindowManager(
IVsCodeWindow codeWindow,
Source source
)
public:
virtual CodeWindowManager^ CreateCodeWindowManager(
IVsCodeWindow^ codeWindow,
Source^ source
)
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.