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

M_CAEX_ClassModel_Validation_CAEXTables_UpdateIDReferenceAttributes

AutomationML edited this page Feb 23, 2017 · 2 revisions

CAEXTables.UpdateIDReferenceAttributes Method

Updates all ID-References to the specified CaexElement. This Method changes the value of the Reference-Attribute in all CAEX-Objects which are registered in the IDRefTable. For each updated reference a TableUpdateEvent is raised with UpdateAction set to IDReferenceChanged. If the asynchronous mode is selected, this Method is queued in the update execution queue. If the Task is completed, a TableUpdateEvent is raised with UpdateAction set to UpdateTaskCompleted.

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

Syntax

C#

public bool UpdateIDReferenceAttributes(
	CAEXBasicObject caexObject,
	bool async = true
)

C++

public:
bool UpdateIDReferenceAttributes(
	CAEXBasicObject^ caexObject, 
	bool async = true
)

Parameters

 

caexObject
Type: CAEX_ClassModel.CAEXBasicObject
The caex element whose CAEX-Path is analyzed and may cause an attribute-Update in a referencing Element.
async (Optional)
Type: System.Boolean
if set to true, the method is queued and runs asynchronously, otherwise synchronously

Return Value

Type: Boolean
true, if this method call is queued in the update execution queue

Exceptions

 

Exception Condition
ArgumentNullException

See Also

Reference

CAEXTables Class
CAEX_ClassModel.Validation 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