 | CAEXBasicObjectExtensionsAncestors(ICAEXWrapper, Boolean) Method |
Finds all ancestors of the provided CAEX object.
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static IEnumerable<CAEXBasicObject> Ancestors(
this ICAEXWrapper caexObject,
bool includeSelf = false
)
<ExtensionAttribute>
Public Shared Function Ancestors (
caexObject As ICAEXWrapper,
Optional includeSelf As Boolean = false
) As IEnumerable(Of CAEXBasicObject)
public:
[ExtensionAttribute]
static IEnumerable<CAEXBasicObject^>^ Ancestors(
ICAEXWrapper^ caexObject,
bool includeSelf = false
)
Parameters
- caexObject ICAEXWrapper
- The CAEX object.
- includeSelf Boolean (Optional)
- Includes the caex object if set to true.
Return Value
IEnumerableCAEXBasicObject
All ancestors of the CAEX object.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ICAEXWrapper. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions
See Also