 | AmlObjectsExtensionsSetMetaInformation(CAEXFileType, String, String, String, String, String, String, String, String, String) Method |
This function sets the meta information required from AutomationML standard. If meta
information about the same writerID already exists, this meta information is replaced.
These information comprise source information about the AutomationML file.
Namespace: Aml.Engine.AmlObjects.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static void SetMetaInformation(
this CAEXFileType caexFile,
string writerName,
string writerID,
string writerVendor,
string writerVendorURL,
string writerVersion,
string writerRelease,
string lastWritingDateTime,
string writerProjectTitle,
string writerProjectID
)
<ExtensionAttribute>
Public Shared Sub SetMetaInformation (
caexFile As CAEXFileType,
writerName As String,
writerID As String,
writerVendor As String,
writerVendorURL As String,
writerVersion As String,
writerRelease As String,
lastWritingDateTime As String,
writerProjectTitle As String,
writerProjectID As String
)
public:
[ExtensionAttribute]
static void SetMetaInformation(
CAEXFileType^ caexFile,
String^ writerName,
String^ writerID,
String^ writerVendor,
String^ writerVendorURL,
String^ writerVersion,
String^ writerRelease,
String^ lastWritingDateTime,
String^ writerProjectTitle,
String^ writerProjectID
)
Parameters
- caexFile CAEXFileType
- the CAEXFile
- writerName String
- the name of the writing tool
- writerID String
- an ID of the writing tool
- writerVendor String
- the tool vendors name
- writerVendorURL String
- the tools vendors URL
- writerVersion String
- the version of the writing tool
- writerRelease String
- the release number of the writing tool
- lastWritingDateTime String
- the date of the last writing time
- writerProjectTitle String
- the title of the written project
- writerProjectID String
- an ID of the written project
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).
Exceptions
Remarks
Extension Method for AutomationML Versions based on CAEX 2.15. If this method is called for a CAEX 3.0 or later
Version, the call
is redirected to the
SetSourceDocumentInformation(CAEXFileType, String, String, String, String, String, String, DateTime, String, String).
See Also