ITcPlcIECProject::SaveAsLibrary

Saves the PLC project as a PLC library and optionally installs it.

HRESULT SaveAsLibrary(BSTR bstrLibraryPath, VARIANT_BOOL binstall);

Parameters

bStrLibraryPath

[in] : Path to the location where the PLC library should be saved to

binstall

[in] : set to "true" if PLC library should also be installed

Return Values

S_OK

PLC project successfully saved as a PLC library.