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: 51.0.16121.3915 (51.0.16121.3915)
Syntax
C#
T GetAncestor<T>() where T : DocumentNode
Type Parameters
- T
- The type of the node.
Return Value
Type: TThe closest ancestor node.
Version Information
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also