Creates a new RegisteredWindowPane instance.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣言
Public Sub New ( _
baseType As Type, _
windowPaneTypeName As String _
)
'使用
Dim baseType As Type
Dim windowPaneTypeName As String
Dim instance As New WindowPaneProviderService..::.RegisteredWindowPane(baseType, _
windowPaneTypeName)
public RegisteredWindowPane(
Type baseType,
string windowPaneTypeName
)
public:
RegisteredWindowPane(
Type^ baseType,
String^ windowPaneTypeName
)
public function WindowPaneProviderService..::.RegisteredWindowPane(
baseType : Type,
windowPaneTypeName : String
)
Parameters
baseType
Type: System.TypeThe kind of the window pane that is being registered.
windowPaneTypeName
Type: System.StringThe name of the window pane.
Remarks
Passing either value as NULL raises a ArgumentNullException exception.
Permissions
- 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.
See Also
Reference
WindowPaneProviderService.RegisteredWindowPane Structure