 | InheritanceExtensionsIsDerivedFromInterfaceClass Method |
Determines whether the specified interface class has an inheritance relation from the interface class,
uniquely identifiable by the given interface class path. The interface class path may contain an alias.
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static bool IsDerivedFromInterfaceClass(
this InterfaceClassType interfaceClass,
string interfaceClassPath
)
<ExtensionAttribute>
Public Shared Function IsDerivedFromInterfaceClass (
interfaceClass As InterfaceClassType,
interfaceClassPath As String
) As Boolean
public:
[ExtensionAttribute]
static bool IsDerivedFromInterfaceClass(
InterfaceClassType^ interfaceClass,
String^ interfaceClassPath
)
Parameters
- interfaceClass InterfaceClassType
- The interface class.
- interfaceClassPath String
-
Class path of a base interface class which is tested for a
inheritance relation to the specified interface class, which is the more specific class
in this relation.
Return Value
Booleantrue if an inheritance relation is resolved; otherwise,
false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
InterfaceClassType. 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