次の方法で共有


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

'宣言
Public Overridable Function CreateCodeWindowManager ( _
    codeWindow As IVsCodeWindow, _
    source As Source _
) As CodeWindowManager
'使用
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
)
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

LanguageService Members

Microsoft.VisualStudio.Package Namespace