 | 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.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static bool IsInherited(
this IClassWithBaseClassReference classWithBaseClass,
CAEXBasicObject element
)
<ExtensionAttribute>
Public Shared Function IsInherited (
classWithBaseClass As IClassWithBaseClassReference,
element As CAEXBasicObject
) As Boolean
public:
[ExtensionAttribute]
static bool IsInherited(
IClassWithBaseClassReference^ classWithBaseClass,
CAEXBasicObject^ element
)
Parameters
- classWithBaseClass IClassWithBaseClassReference
- the class providing the inheritance relation
- element CAEXBasicObject
- the element to test
Return Value
Booleantrue, 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