 | 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.AmlObjectsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic bool ReplaceMetaInformation(
string oldWriterID,
MetaInformation newMetainformation
)
Public Function ReplaceMetaInformation (
oldWriterID As String,
newMetainformation As MetaInformation
) As Boolean
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
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