.NET Framework Class Library
Project.CreateNewProject Method
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > Project Class > Project Methods > .NET Framework Class Library |
Creates a new project.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function CreateNewProject ( _ projectId As String, _ |
C# |
|---|
public int CreateNewProject( string projectId, |
Visual C++ |
|---|
public: int CreateNewProject( |
JavaScript |
|---|
function createNewProject(projectId, parentUid, showInputForm); |
Parameters
projectId
Type: System.String
It is the new project id
parentUid (Optional)
Type: System.Int32
Unique id of the parent project. This parameter has to be equal to 0 (zero) if a top level project needs to be created. The default is 0.
showInputForm (Optional)
Type: System.Boolean
0 (default): hides the Input Form. 1: shows the Input Form
Return Value
The document unique id of the just created project
See Also