Skip to content
This repository has been archived by the owner on Jun 22, 2019. It is now read-only.

M_CAEX_ClassModel_CAEXBasicObject_New_Revision

AutomationML edited this page Feb 23, 2017 · 2 revisions

CAEXBasicObject.New_Revision Method

Creating a new revision element. According to CAEX schema each revision element must contain at least the two sub elements "RevisionDate" and "AuthorName". They are created with this revision object. The sibling order according to the CAEX Schema is preserved in that way, that revision nodes are always inserted nodes of type VersionType

Namespace: CAEX_ClassModel
Assembly: AMLEngine (in AMLEngine.dll) Version: 3.5

Syntax

C#

public RevisionType New_Revision(
	DateTime date,
	string author,
	bool asFirst = true
)

C++

public:
virtual RevisionType^ New_Revision(
	DateTime^ date, 
	String^ author, 
	bool asFirst = true
) sealed

Parameters

 

date
Type: DateTime
The date.
author
Type: System.String
The author.
asFirst (Optional)
Type: System.Boolean
if true, the revision is prepended to any existing revisions, otherwise it's appended

Return Value

Type: RevisionType
A newly created RevisionType element.

See Also

Reference

CAEXBasicObject Class
CAEX_ClassModel Namespace

  • Introduction
  • [Version History](Version history)
    • [Version 3.5](Version 3.4)
    • [Version 3.1](Version 3.0)
    • [Version 2.1](Version 2.1)
    • [Version 2.0](Version 2.0)
  • [Getting Started](Getting started)
  • Examples
  • AMLEngine API
BEST Practice Content

Extensions

CAEX Elements

AutomationML

Utilities

Interfaceclasses

Exceptions

Objecttables and Document validation

Clone this wiki locally