AbsoluteDocumentPathGetRootNodeImplementingT(IDocumentLeafNode) Method |
Gets the first parent node of node that implements T.
Namespace: Altaxo.MainAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
TThe first parent node that implements
T, or the default value if none was found.
See Also