INodeContextGetAncestorT Method

Spotfire 15.0 API Reference
Returns the closest ancestor node of type T, or null if no such ancestor is found.

Namespace:  Spotfire.Dxp.Framework.DocumentModel
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax

C#
T GetAncestor<T>()
where T : DocumentNode

Type Parameters

T
The type of the node.

Return Value

Type: T
The closest ancestor node.
Version Information


See Also

Reference