 | 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.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static List<AttributeType> GetInheritedAttributesAndDescendants(
this IClassWithBaseClassReference classWithBaseClass,
bool includeOwn = true
)
<ExtensionAttribute>
Public Shared Function GetInheritedAttributesAndDescendants (
classWithBaseClass As IClassWithBaseClassReference,
Optional includeOwn As Boolean = true
) As List(Of AttributeType)
public:
[ExtensionAttribute]
static List<AttributeType^>^ GetInheritedAttributesAndDescendants(
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
ListAttributeTypeA 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