 | 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.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static IEnumerable<InternalElementType> GetInheritedElements(
this SystemUnitFamilyType classWithBaseClass,
bool includeSelf
)
<ExtensionAttribute>
Public Shared Function GetInheritedElements (
classWithBaseClass As SystemUnitFamilyType,
includeSelf As Boolean
) As IEnumerable(Of InternalElementType)
public:
[ExtensionAttribute]
static IEnumerable<InternalElementType^>^ GetInheritedElements(
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
IEnumerableInternalElementTypeA 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