ITcArchiveImportExport::ExportArchive2

Like ExportArchive, but it exports only the selection of child items that is explicitly passed to it.

Signature

HRESULT ExportArchive2(BSTR bstrFile, ITcTreeItemCollection* pChilds, VARIANT vInfo);

Parameter

Name

Type

Description

bstrFile

BSTR

[in] Target path of the archive file.

pChilds

ITcTreeItemCollection*

[in, defaultvalue(NULL)] Selection of the children to be exported (see ITcTreeItemCollection). NULL exports everything.

vInfo

VARIANT

[in, optional] Additional export information.

Return value

Name

Type

Description

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes