API | ITcPlcLibraryManager 5.25.1.11 ITcPlcLibraryManager::AddPlaceholder | ITcPlcLibraryManager::AddPlaceholder Creates a placeholder. If bstrDefaultLibName is empty, the default library is determined based on the device placeholders. Signature HRESULT AddPlaceholder([in] BSTR bstrPlaceholderName, [in, defaultvalue(L"")] BSTR bstrDefaultLibNam e, [in, defaultvalue(L"")] BSTR bstrDefaultVersion, [in, defaultvalue(L"")] BSTR bstrDefaultDistribu tor); Parameter Return value Error codes DanglingAdapterException : Adapter not connected. ArgumentException : Name is empty. AutomationException(…, E_INVALIDARG) : No device placeholder found without libName .
5.25.2 ITcPlcLibraryManager2 | ITcPlcLibraryManager2 Inherits from: ITcPlcLibraryManager Adds the serialization of library type/signature XML. Methods 5.25.2.1 ITcPlcLibraryManager2::ProduceAllLibrarySignatures | ITcPlcLibraryManager2::ProduceAllLibrarySignatures Serializes the signature XML of all (resolved) libraries. Signature HRESULT ProduceAllLibrarySignatures([out, retval] BSTR* pXml); Parameter (none) TE1000 119 Version: 1.7.0 Name Type Description bstrPlaceholderNam e BSTR [in] Name of the placeholder. bstrDefaultLibName BSTR [in, defaultvalue("")] Default library (empty = from device placeholders). bstrDefaultVersion BSTR [in, defaultvalue("")] Default version.
bstrDefaultDistributo r BSTR [in, defaultvalue("")] Default distributor. Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _ Method Description ProduceLibrarySignatures Serializes the signature XML of a library. ProduceAllLibrarySignatures Serializes the signature XML of all resolved libraries.