INodeContextGetAncestorT Method

Spotfire 14.3 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: 65.0.19510.3242 (65.0.19510.3242)
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

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference