Click or drag to resize

CAEXFileTypeExtensionsGetAMLInfoFromFilename Method

Get AutomationML file info from the caex filename.

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static void GetAMLInfoFromFilename(
	this CAEXFileType caexFile,
	out string producer,
	out string domain,
	out string version,
	out string edition,
	out string libType,
	out string extension
)

Parameters

caexFile  CAEXFileType
The CAEX File root element of the CAEX Document
producer  String
The name of the producer of the AutomationML file.
domain  String
The name of the intended domain of the AutomationML file.
version  String
The name of the version of the AutomationML file content.
edition  String
The AutomationML edition of the AutomationML file content.
libType  String
The library type, defined in the AutomationML file.
extension  String
The name of the library extension if defined.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CAEXFileType. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Use this method only, if the CAEXDocument is named according to the new AutomationML naming style guide.
See Also