Click or drag to resize

ObjectWithBaseClassGetInheritedAttributesAndDescendants Method

Gets a list of Attribute objects that are inherited from base classes. The List will also contain the elements own Attribute objects, if the parameter is set (default). If an Attribute is overwritten, only the last defined is contained.

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static List<AttributeType> GetInheritedAttributesAndDescendants(
	this IClassWithBaseClassReference classWithBaseClass,
	bool includeOwn = true
)

Parameters

classWithBaseClass  IClassWithBaseClassReference
The class with a possible base class reference for inheritance.
includeOwn  Boolean  (Optional)
if set to true includes the elements own ExternalInterface objects; otherwise not

Return Value

ListAttributeType
A list of Attribute objects

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