 | AMLLibrariesGetAutomationMLLibrary Method |
Gets the AutomationML library with the specified name for the specified CAEXVersion and
AMLversion asynchronously.
Namespace: Aml.Engine.ResourcesAssembly: Aml.Engine.Resources (in Aml.Engine.Resources.dll) Version: 3.0
Syntaxpublic static Stream GetAutomationMLLibrary(
string libraryName,
string AMLversion,
string CAEXVersion
)
Public Shared Function GetAutomationMLLibrary (
libraryName As String,
AMLversion As String,
CAEXVersion As String
) As Stream
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
StreamGets 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