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 |
|
Error codes
-
E_NOTIMPL: not supported on simple Tree Items. -
TSM_E_ITEMDELETED: The referenced Tree Item is no longer valid.