Autodesk.AutoCAD.Customization Namespace > WorkspaceDockableWindow Class > WorkspaceDockableWindow Constructor > WorkspaceDockableWindow(Workspace, string, string, string) Constructor
WorkspaceDockableWindow.WorkspaceDockableWindow(Workspace, string, string, string) Constructor
Description

 

This constructor sets a parent. It also names the dockable window and allows it to execute a command.

Visual Basic
Public Sub New(
    parent As Workspace, 
    className As string, 
    name As string, 
    command As string
)
C#
public WorkspaceDockableWindow(
    Workspace parent, 
    string className, 
    string name, 
    string command
);
Parameters
Parameters 
Description 
Workspace parent 
Input the parent workspace of this dockable window. 
string className 
Input the GUID of the class that is stored in the registry to identify this dockable window. 
string name 
Input the name of this dockable window. 
string command 
Input the command associated with this dockable window in order to display it. 
Links
   Comments?