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_Version

AutomationML edited this page Feb 23, 2017 · 2 revisions

CAEXBasicObject.New_Version Method

Creating a new version element. An exception is thrown when a version element is already present. The sibling order according to the CAEX Schema is preserved in that way, that version nodes are always inserted after nodes of type DescriptionType

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

Syntax

C#

public VersionType New_Version()

C++

public:
virtual VersionType^ New_Version() sealed

Return Value

Type: VersionType
A newly created VersionType element. An exception of type SchemaConformanceException is thrown when a version element is already present

Exceptions

 

Exception Condition
SchemaConformanceException A version node is already existent. It is not allowed to add more than one version node to current element according to CAEX Schema

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