API | ITcPlcLibraryManager Methods 5.25.1.1 ITcPlcLibraryManager::InsertRepository | ITcPlcLibraryManager::InsertRepository Registers a new repository at index iIndex (determines the priority). Signature HRESULT InsertRepository([in] BSTR bstrName, [in] BSTR rootFolder, [in] int iIndex); Parameter Return value Error codes DanglingAdapterException : Adapter not connected. ArgumentException : Name already exists or index > count / index . ErrorException(Error_CouldNotAddRepository) : The insert operation returned null . 5.25.1.2 ITcPlcLibraryManager::InstallLibrary | ITcPlcLibraryManager::InstallLibrary Installs a .library file into a registered repository. TE1000 114 Version:
1.7.0 Property Type get/set Description Repositories ITcPlcLibRepositories [} 111]** get Registered PLC library repositories. Returns null if not connected. See ITcPlcLibRepositories [} 111]. Method Description AddLibrary Adds a library/placeholder reference. RemoveReference Removes a library/placeholder reference. InsertRepository Registers a new repository at the specified index. RemoveRepository Removes or deregisters a repository. MoveRepository Changes a repository's priority. InstallLibrary Installs an .library in a repository. UninstallLibrary Uninstalls a library from a repository. ScanLibraries Returns all registered libraries from all repositories.
AddPlaceholder Creates a placeholder. SetEffectiveResolution Sets the RedirectedResolution of a placeholder. FreezePlaceholder Freezes the EffectiveResolution of a placeholder. Name Type Description bstrName BSTR [in] Name of the repository. rootFolder BSTR [in] Root folder of the repository. iIndex int [in] Insertion index (priority). Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _