Click or drag to resize

DocumentVersionsDeleteDocumentVersionInformation Method

This function deletes all existing DocumentVersion information from the AutomationML document corresponding to the documentID.

Namespace: Aml.Engine.AmlObjects
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static bool DeleteDocumentVersionInformation(
	this CAEXFileType caexFile,
	string documentIdentifier
)

Parameters

caexFile  CAEXFileType
this CAEX file of the AutomationML document
documentIdentifier  String
Document Identifier of the document version information, which should be deleted

Return Value

Boolean
true if delete succeeded, false if documentID has not been found

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).
See Also