Click or drag to resize

ObjectWithBaseClassIsInherited Method

Determines, if the specified element is an inherited element. To be an inherited element, it has to be an AttributeType, ExternalInterfaceType or InternalElementType element.

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static bool IsInherited(
	this IClassWithBaseClassReference classWithBaseClass,
	CAEXBasicObject element
)

Parameters

classWithBaseClass  IClassWithBaseClassReference
the class providing the inheritance relation
element  CAEXBasicObject
the element to test

Return Value

Boolean
true, if a base class contains the element

Usage Note

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