Creates a new project based on the default project template set up in SDL Trados Studio.
Namespace: Sdl.ProjectAutomation.FileBasedAssembly: Sdl.ProjectAutomation.FileBased (in Sdl.ProjectAutomation.FileBased.dll) Version: 1.0.0.0 (1.2.3064.0)
Syntax
C# |
---|
public FileBasedProject( ProjectInfo projectInfo ) |
Visual Basic |
---|
Public Sub New ( _ projectInfo As ProjectInfo _ ) |
Visual C++ |
---|
public: FileBasedProject( ProjectInfo^ projectInfo ) |
Parameters
- projectInfo
- Type: Sdl.ProjectAutomation.Core..::..ProjectInfo
Properties to use when creating the project.
Remarks
The default project template has to be set up before you can use this constructor. This is done automatically when SDL Trados Studio
starts for the first time after installation.
Exceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | Thrown when trying to use this constructor before SDL Trados Studio has initialized the default project template. |
System..::..ArgumentNullException | Thrown when projectInfo is null. |
System..::..ArgumentException | Thrown when projectInfo is invalid. |