DesignerWindowPane Constructor
Initializes a new instance of the DesignerWindowPane class.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Déclaration
Public Sub New ( _
surface As DesignSurface _
)
'Utilisation
Dim surface As DesignSurface
Dim instance As New DesignerWindowPane(surface)
public DesignerWindowPane(
DesignSurface surface
)
public:
DesignerWindowPane(
DesignSurface^ surface
)
new :
surface:DesignSurface -> DesignerWindowPane
public function DesignerWindowPane(
surface : DesignSurface
)
Parameters
- surface
Type: System.ComponentModel.Design.DesignSurface
The design surface for which to create the window pane.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | surface is nulla null reference (Nothing in Visual Basic). |
.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.