ITcArchiveImportExport::ExportArchive

Exports the Tree Item (including its relevant children) as an archive. For a nested project node, the corresponding Visual Studio solution is first saved, and the project is then packaged into a ZIP file. Not implemented on simple Tree Items.

Signature

HRESULT ExportArchive(BSTR bstrFile, VARIANT vInfo);

Parameter

Name

Type

Description

bstrFile

BSTR

[in] Target path of the archive file.

vInfo

VARIANT

[in, optional] Additional export information (implementation-dependent).

Return value

Name

Type

Description

(HRESULT)

HRESULT

S_OK if successful, S_FALSE if the ZIP file failed to create, otherwise an error code.

Error codes