Click or drag to resize

TreeNodeExtensionsIndexOfT(T) Method

Gets the index of a given node inside a tree.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IList<int> IndexOf<T>(
	this T node
)
where T : Object, ITreeListNodeWithParent<T>

Parameters

node  T
The node for which the index is determined.

Type Parameters

T
Type of the node.

Return Value

IListInt32
Index of the node inside the tree.

Usage Note

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