FileBasedProjectCreateFromProjectPackage Method (String, String, ProjectPackageImport) |
Creates a new project from a project package.
Namespace: Sdl.ProjectAutomation.FileBasedAssembly: Sdl.ProjectAutomation.FileBased (in Sdl.ProjectAutomation.FileBased.dll) Version: 3.0.0.0 (3.1.5799.0)
Syntaxpublic static FileBasedProject CreateFromProjectPackage(
string projectPackageFilePath,
string projectFolder,
out ProjectPackageImport result
)
Public Shared Function CreateFromProjectPackage (
projectPackageFilePath As String,
projectFolder As String,
<OutAttribute> ByRef result As ProjectPackageImport
) As FileBasedProject
public:
static FileBasedProject^ CreateFromProjectPackage(
String^ projectPackageFilePath,
String^ projectFolder,
[OutAttribute] ProjectPackageImport^% result
)
static member CreateFromProjectPackage :
projectPackageFilePath : string *
projectFolder : string *
result : ProjectPackageImport byref -> FileBasedProject
Parameters
- projectPackageFilePath
- Type: SystemString
The file path of the project package to open into a new project. Only native SDL Trados Studio packages are supported (*.sdlppx). - projectFolder
- Type: SystemString
The file path of an empty folder to create the new project in. - result
- Type: Sdl.ProjectAutomation.CoreProjectPackageImport
Information about the project package import operation.
Return Value
Type:
FileBasedProjectThe newly created file-based project; or
null if the project package import operation failed.
RemarksUnlike SDL Trados Studio, this API does not allow you to open a project package and merge it into a project that was
previously created by opening a project package that originated from the same project. A new project is created for every project package you
open using this method.
See Also
Comments