Click or drag to resize

QueryServiceAllElementsWithCAEXPathReference Method

Gets all the elements which are descendants of the provided CAEX object and use a path reference. Elements referencing the same path are grouped together. Use this method to validate the existence of referenced classes. If the elementName is set, only elements with the defined element name are considered.

Namespace: Aml.Engine.Services
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public ILookup<string, ICAEXReference> AllElementsWithCAEXPathReference(
	CAEXBasicObject caexObject,
	string elementName = "",
	bool includeSelf = false
)

Parameters

caexObject  CAEXBasicObject
The CAEX object.
elementName  String  (Optional)
If parameter is set, only elements with the given element Name are considered.
includeSelf  Boolean  (Optional)
If set to true, the provided object is included if it contains a path reference.

Return Value

ILookupString, ICAEXReference
Lookup table of elements with path references. The CAEXPath is used as a grouping key.

Implements

IQueryAllElementsWithCAEXPathReference(CAEXBasicObject, String, Boolean)
Remarks
Since Version 3.1.5 path references using an alias name are included in the result.
See Also