Click or drag to resize

AbsoluteDocumentPathGetRootNodeImplementingT(IDocumentLeafNode) Method

Gets the first parent node of node that implements T.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static T GetRootNodeImplementing<T>(
	IDocumentLeafNode? node
)

Parameters

node  IDocumentLeafNode
The node from where the search begins.

Type Parameters

T
The type to search for.

Return Value

T
The first parent node that implements T, or the default value if none was found.
See Also