 | ObjectWithExternalInterfaceInterfaceClassReferences Method |
All external Interfaces of this Object with ExternalInterfaces with an associated InterfaceClass reference
with the specified CAEX path interface reference. If inheritance relations between interface classes should be
regarded, the
optional parameter 'regardInheritance' should be set. In this case the specified InterfaceClass is either identical
to a referenced InterfaceClass or a referenced InterfaceClass is derived from the specified InterfaceClass.
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static IEnumerable<ExternalInterfaceType> InterfaceClassReferences(
this IObjectWithExternalInterface objectWithExternalInterface,
string interfaceReference,
bool regardInheritance = false
)
<ExtensionAttribute>
Public Shared Function InterfaceClassReferences (
objectWithExternalInterface As IObjectWithExternalInterface,
interfaceReference As String,
Optional regardInheritance As Boolean = false
) As IEnumerable(Of ExternalInterfaceType)
public:
[ExtensionAttribute]
static IEnumerable<ExternalInterfaceType^>^ InterfaceClassReferences(
IObjectWithExternalInterface^ objectWithExternalInterface,
String^ interfaceReference,
bool regardInheritance = false
)
Parameters
- objectWithExternalInterface IObjectWithExternalInterface
- the CAEX object with external interfaces
- interfaceReference String
- The interface reference.
- regardInheritance Boolean (Optional)
-
if set to true inheritance relations
are regarded (default is false).
Return Value
IEnumerableExternalInterfaceType
All external interfaces with an associated InterfaceClass reference
with the specified CAEX path interface reference.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IObjectWithExternalInterface. 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).
Exceptions
See Also