 | 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.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static void SetSourceDocumentInformation(
this CAEXFileType caexFile,
string originName,
string originID,
string originVendor,
string originVendorURL,
string originVersion,
string originRelease,
DateTime lastWritingDateTime,
string originProjectTitle,
string originProjectID
)
<ExtensionAttribute>
Public Shared Sub SetSourceDocumentInformation (
caexFile As CAEXFileType,
originName As String,
originID As String,
originVendor As String,
originVendorURL As String,
originVersion As String,
originRelease As String,
lastWritingDateTime As DateTime,
originProjectTitle As String,
originProjectID As String
)
public:
[ExtensionAttribute]
static void SetSourceDocumentInformation(
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
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