Click or drag to resize

CAEXBasicObjectExtensionsFirstAncestor(ICAEXWrapper, String) Method

Finds the first ancestor of the specified CAEX object with the given Tag name

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static CAEXWrapper FirstAncestor(
	this ICAEXWrapper caexObject,
	string tagName
)

Parameters

caexObject  ICAEXWrapper
The CAEX object.
tagName  String
Name of the tag.

Return Value

CAEXWrapper
First ancestor of the specified CAEX object or null, if no ancestor with this Tag name exists.

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
ExceptionCondition
ArgumentNullExceptioncaexObject
See Also