 | DocumentVersionsDeleteDocumentVersionInformation Method |
This function deletes all existing DocumentVersion information from the
AutomationML document corresponding to the documentID.
Namespace: Aml.Engine.AmlObjectsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static bool DeleteDocumentVersionInformation(
this CAEXFileType caexFile,
string documentIdentifier
)
<ExtensionAttribute>
Public Shared Function DeleteDocumentVersionInformation (
caexFile As CAEXFileType,
documentIdentifier As String
) As Boolean
public:
[ExtensionAttribute]
static bool DeleteDocumentVersionInformation(
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