 | AMLEngineAdapterAncestors Method |
Note: This API is now obsolete.
Returns all SystemUnit Classes which are ancestors of this SystemUnitClass. This SystemUnit Class is
included in the enumeration as the first Element, The farthest is the last Element in
the enumeration.
Namespace: Aml.Engine.AdapterAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax[ObsoleteAttribute("use the generic extension method, Ancestors<T>.")]
public static IEnumerable<SystemUnitClassType> Ancestors(
this SystemUnitClassType systemUnitClass
)
<ExtensionAttribute>
<ObsoleteAttribute("use the generic extension method, Ancestors<T>.")>
Public Shared Function Ancestors (
systemUnitClass As SystemUnitClassType
) As IEnumerable(Of SystemUnitClassType)
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"use the generic extension method, Ancestors<T>.")]
static IEnumerable<SystemUnitClassType^>^ Ancestors(
SystemUnitClassType^ systemUnitClass
)
Parameters
- systemUnitClass SystemUnitClassType
- The SystemUnitClass instance
Return Value
IEnumerableSystemUnitClassTypeIEnumerable<SystemUnitClassType>.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SystemUnitClassType. 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