Click or drag to resize

ObjectWithBaseClassGetInheritedElements Method

Gets a collection of InternalElement objects that are inherited from base classes. As default, the own InternalElements are included in the enumeration.

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static IEnumerable<InternalElementType> GetInheritedElements(
	this SystemUnitFamilyType classWithBaseClass,
	bool includeSelf
)

Parameters

classWithBaseClass  SystemUnitFamilyType
The class with a possible base class reference for inheritance.
includeSelf  Boolean
if set to true includes the own Internal Elements.

Return Value

IEnumerableInternalElementType
A collection of InternalElement objects

Usage Note

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