Partager via


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 (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.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

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

See Also

Reference

LanguageService Class

Microsoft.VisualStudio.Package Namespace