NDoc 1.3.1 SDK |

# Workspace Constructor

Creates a new instance of the Workspace class.

    [Visual Basic]
    Public Sub New( _
       ByVal root As String, _
       ByVal type As String, _
       ByVal contentDirName As String, _
       ByVal cleanableExtensions As String _
    )
    [C#]
    public Workspace(
       string root,
       string type,
       string contentDirName,
       string cleanableExtensions
    );
    [C++]
    public: Workspace(
       String* root,
       String* type,
       String* contentDirName,
       String* cleanableExtensions
    );
    [JScript]
    public function Workspace(
       String root,
       String type,
       String contentDirName,
       String cleanableExtensions
    );

#### Parameters

root
  The location to create the workspace
type
  The type of workspace
contentDirName
  The name of the sub folder where content will be placed
cleanableExtensions
  A semi-colon delimited list of file extensions that can be deleted when cleaning the root folder of the workspace (*.ex1;*.ex2)

#### See Also

Workspace Class | NDoc.Core Namespace