Click or drag to resize

AMLFileReplaceMetaInformation Method

This function replaces any existing meta information corresponding to the identical oldWriterID with the new meta information defined in the new Meta information

Namespace: Aml.Engine.AmlObjects
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public bool ReplaceMetaInformation(
	string oldWriterID,
	MetaInformation newMetainformation
)

Parameters

oldWriterID  String
writerID of the old meta information
newMetainformation  MetaInformation
substitute for the old version of meta information

Return Value

Boolean
true if succeeded, false if meta information about the oldWriterID is not found
Exceptions
ExceptionCondition
ArgumentExceptionoldWriterID
Remarks
Extension Method originally designed for AutomationML Versions based on CAEX 2.15. If this method is applied to a CAEX 3.0 document, the information is transformed to a SourceDocumentInformationType.
See Also