Click or drag to resize

CAEXBasicObjectExtensionsDescendants(CAEXWrapper, Type) Method

Finds the descendants of the provided CAEX object which are of the given type.

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static IEnumerable<CAEXBasicObject> Descendants(
	this CAEXWrapper caexObject,
	Type caexType
)

Parameters

caexObject  CAEXWrapper
The CAEX object.
caexType  Type
CAEX element type of the descendants.

Return Value

IEnumerableCAEXBasicObject
The descendants of the CAEX object which are of the given type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CAEXWrapper. 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
ExceptionCondition
ArgumentNullExceptioncaexObject
See Also