combit List & Label 25 - .NET Online Web Help
ImportTableOfContentsFile Method


combit.ListLabel25.Repository Namespace > RepositoryImportUtil Class : ImportTableOfContentsFile Method

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

The local path of the file to import.

Optional. A custom string which will be passed back in the CreateOrUpdateItem call.

Imports a table-of-contents project (.toc) file to the repository and returns the ID of the created repository item. Once the file is ready and the metadata objects are prepared, internally the repository's CreateOrUpdateItem method is called to store it into the repository.

Syntax
'Declaration
 
Public Function ImportTableOfContentsFile( _
   ByVal ll As ListLabel, _
   ByVal filePath As String, _
   Optional ByVal userImportData As String _
) As String
public string ImportTableOfContentsFile( 
   ListLabel ll,
   string filePath,
   string userImportData
)
public:
String^ ImportTableOfContentsFile( 
   ListLabel^ ll,
   String^ filePath,
   String^ userImportData
) 

Parameters

ll

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

filePath

The local path of the file to import.

userImportData

Optional. A custom string which will be passed back in the CreateOrUpdateItem call.

Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

RepositoryImportUtil Class
RepositoryImportUtil Members