Click or drag to resize

AmlObjectsExtensionsSetSourceDocumentInformation 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.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static void SetSourceDocumentInformation(
	this CAEXFileType caexFile,
	string originName,
	string originID,
	string originVendor,
	string originVendorURL,
	string originVersion,
	string originRelease,
	DateTime lastWritingDateTime,
	string originProjectTitle,
	string originProjectID
)

Parameters

caexFile  CAEXFileType
the CAEXFile
originName  String
the name of the writing tool
originID  String
an ID of the writing tool
originVendor  String
the tool vendors name
originVendorURL  String
the tools vendors URL
originVersion  String
the version of the writing tool
originRelease  String
the release number of the writing tool
lastWritingDateTime  DateTime
the date of the last writing time
originProjectTitle  String
the title of the written project
originProjectID  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
ExceptionCondition
ArgumentNullExceptioncaexFile
Remarks
Extension Method for AutomationML Versions based on CAEX 3.0. If this method is called for an CAEX 2.15 Version, the call is redirected to the SetMetaInformation(CAEXFileType, String, String, String, String, String, String, String, String, String) .
See Also