Click or drag to resize

AMLLibrariesGetAutomationMLLibrary Method

Gets the AutomationML library with the specified name for the specified CAEXVersion and AMLversion asynchronously.

Namespace: Aml.Engine.Resources
Assembly: Aml.Engine.Resources (in Aml.Engine.Resources.dll) Version: 3.0
Syntax
public static Stream GetAutomationMLLibrary(
	string libraryName,
	string AMLversion,
	string CAEXVersion
)

Parameters

libraryName  String
The name of the library.
AMLversion  String
The AutomationML version string. Known versions are currently 'AML2_0' (version of AutomationML Edition 1) and 'AML2_10' (version of AutomationML Edition 2).
CAEXVersion  String
The CAEX Schema verson. Supported versions are currently 'CAEX2_15' (used for AutomationML Edition 1) and 'CAEX3_0' (used for AutomationML Edition 2)

Return Value

Stream
Gets an AutomationML document stream containing the AutomationML library with the defined name
Remarks
Please note, that only the libraries, defined in LibraryResources are available as embedded resources. In case of an external download from AutomationML all AutomationML libraries listed in the libraries catalog are available. If AMLVersion 'AML2_0' is requested with CAEXVersion 'CAEX3_0' the resulting stream is a transformed 'CAEX2_15' document.
See Also