ITcArchivePersist::LoadFromArchive

Loads a solution from a ZIP archive previously created using SaveAsArchive and extracts it to the specified solution folder.

Signature

HRESULT LoadFromArchive(BSTR bstrPath, BSTR solutionFolder);

Parameter

Name

Type

Description

bstrPath

BSTR

[in] Path to the ZIP archive to be opened.

solutionFolder

BSTR

[in] Target folder where the solution will be extracted and opened.

Return value

Name

Type

Description

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.