 | 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.ServicesAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic ILookup<string, ICAEXReference> AllElementsWithCAEXPathReference(
CAEXBasicObject caexObject,
string elementName = "",
bool includeSelf = false
)
Public Function AllElementsWithCAEXPathReference (
caexObject As CAEXBasicObject,
Optional elementName As String = "",
Optional includeSelf As Boolean = false
) As ILookup(Of String, ICAEXReference)
public:
virtual ILookup<String^, ICAEXReference^>^ AllElementsWithCAEXPathReference(
CAEXBasicObject^ caexObject,
String^ elementName = L"",
bool includeSelf = false
) sealed
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