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

M_CAEX_ClassModel_CAEXFileType_FindFastByID

AutomationML edited this page Feb 23, 2017 · 2 revisions

CAEXFileType.FindFastByID Method (String, Boolean)

Performs a document wide fast search and returns a CAEXObject given by its ID. This method is fast due to table support. If the actual Tables don't contain any Object, the UpdateAllTables(Boolean) method is called. If you have made unregistered changes to the document, the update method should be called explicit to ensure, that all Objects in the current Caex Document are registered.

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

Syntax

C#

public CAEXObject FindFastByID(
	string ID,
	bool includeExternals = false
)

C++

public:
CAEXObject^ FindFastByID(
	String^ ID, 
	bool includeExternals = false
)

Parameters

 

ID
Type: System.String
the ID ob the object which is subject of the search
includeExternals (Optional)
Type: System.Boolean
new optional parameter to enable this methods (default=false), to search in referenced documents also. Referenced Documents can only be considered, if they are loaded via the ExternalReference.

Return Value

Type: CAEXObject
the found CAEXObject or null if not found

See Also

Reference

CAEXFileType Class
FindFastByID Overload
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