INodeContextGetAncestorT Method TIBCO Spotfire 7.9 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: 30.0.10915.3380 (30.0.10915.3380)
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: 7.9, 7.8, 7.7, 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference