combit List & Label 24 - .NET Online Web Help
ImportProjectFileWithDependencies Method


combit.ListLabel24.Repository Namespace > RepositoryImportUtil Class : ImportProjectFileWithDependencies Method

The List & Label instance that the repository is assigned to.

The local path of the project to import.

Optional. If not null, this parameter allows to set the repository ID to use for the imported project. An existing item is replaced.

Imports a project file into the repository and returns the ID of the created repository item. Unlike ImportProjectFile, this method will load the project via DOM (see also combit.ListLabel24.Dom Namespace) and exchange all references to local files (e.g. images) with repository items for those files. Furthermore this method recursively loads all referenced project files (e.g. for drilldown, includes, table of contents, ...) in the same way and also imports their dependencies into the repository. This method call may be expensive, however the imported project should be ready to use from just the repository without needing any local files anymore. When importing multiple files, always use the same instance of the RepositoryImportUtil so already imported files are reused.
Syntax
'Declaration
 
Public Function ImportProjectFileWithDependencies( _
   ByVal ll As ListLabel, _
   ByVal projectFilePath As String, _
   Optional ByVal repositoryItemId As String _
) As String
public string ImportProjectFileWithDependencies( 
   ListLabel ll,
   string projectFilePath,
   string repositoryItemId
)
public:
String^ ImportProjectFileWithDependencies( 
   ListLabel^ ll,
   String^ projectFilePath,
   String^ repositoryItemId
) 

Parameters

ll

The List & Label instance that the repository is assigned to.

projectFilePath

The local path of the project to import.

repositoryItemId

Optional. If not null, this parameter allows to set the repository ID to use for the imported project. An existing item is replaced.

Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

RepositoryImportUtil Class
RepositoryImportUtil Members