TreeDataStructureExtensionsParentsT Method

Gets the ancestors of the element.

Definition

Namespace: Aliquo.Windows.Base
Assembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
C#
public static List<TreeDataStructure<T>> Parents<T>(
	this TreeDataStructure<T> source
)

Parameters

source  TreeDataStructureT
An instance of type TreeDataStructureT.

Type Parameters

T
The underlying data type of source.

Return Value

ListTreeDataStructureT
List<TreeDataStructureT> that contains the ancestors of the element source.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TreeDataStructureT. 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