| CAEXFileTypeExtensionsGetAMLInfoFromFilename Method |
Get AutomationML file info from the caex filename.
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: 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
)
<ExtensionAttribute>
Public Shared Sub GetAMLInfoFromFilename (
caexFile As CAEXFileType,
<OutAttribute> ByRef producer As String,
<OutAttribute> ByRef domain As String,
<OutAttribute> ByRef version As String,
<OutAttribute> ByRef edition As String,
<OutAttribute> ByRef libType As String,
<OutAttribute> ByRef extension As String
)
public:
[ExtensionAttribute]
static void GetAMLInfoFromFilename(
CAEXFileType^ caexFile,
[OutAttribute] String^% producer,
[OutAttribute] String^% domain,
[OutAttribute] String^% version,
[OutAttribute] String^% edition,
[OutAttribute] String^% libType,
[OutAttribute] 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