WindowPaneProviderService.CreateWindowPane Method (Type, DesignSurface)

Creates a designer window pane for the specified type of window pane.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣言
Protected Function CreateWindowPane ( _
    windowPaneType As Type, _
    surface As DesignSurface _
) As DesignerWindowPane
'使用
Dim windowPaneType As Type
Dim surface As DesignSurface
Dim returnValue As DesignerWindowPane

returnValue = Me.CreateWindowPane(windowPaneType, _
    surface)
protected DesignerWindowPane CreateWindowPane(
    Type windowPaneType,
    DesignSurface surface
)
protected:
DesignerWindowPane^ CreateWindowPane(
    Type^ windowPaneType, 
    DesignSurface^ surface
)
protected function CreateWindowPane(
    windowPaneType : Type, 
    surface : DesignSurface
) : DesignerWindowPane

Parameters

  • windowPaneType
    Type: System.Type

    The type of the window pane.

Return Value

Type: Microsoft.VisualStudio.Shell.Design.DesignerWindowPane

The newly-created DesignerWindowPane.

Permissions

See Also

Reference

WindowPaneProviderService Class

WindowPaneProviderService Members

CreateWindowPane Overload

Microsoft.VisualStudio.Shell.Design Namespace