Endeca Presentation API
SelectAncestor Method (n, ancestor, descriptor)
NamespacesEndeca.NavigationENEQueryToolkitSelectAncestor(Navigation, DimVal, DimVal)
Generates the navigation descriptors of the ENEQuery for a selected ancestor.
Declaration Syntax
C#Visual BasicVisual C++
public static DimValIdList SelectAncestor(
	Navigation n,
	DimVal ancestor,
	DimVal descriptor
)
Public Shared Function SelectAncestor ( _
	n As Navigation, _
	ancestor As DimVal, _
	descriptor As DimVal _
) As DimValIdList
public:
static DimValIdList^ SelectAncestor (
	Navigation^ n, 
	DimVal^ ancestor, 
	DimVal^ descriptor
)
Parameters
n (Navigation)
The current Navigation object.
ancestor (DimVal)
The ancestor (a DimVal object) which will be used to generate new navigation values.
descriptor (DimVal)
The descriptor (a DimVal object) which will be replaced with its ancestor.
Return Value
A DimValIdList object containing the IDs of the new navigation query descriptors after the current navigation descriptor is replaced with its ancestor.
Remarks
This method replaces the specified navigation descriptor (the descriptor parameter) with the ancestor dimension value (the ancestor parameter), and generates a new set of navigation values for the ENEQuery. The order of the descriptors remains the same as the order in the current Navigation object. However, the specified ancestor is substituted for the specified descriptor.

Assembly: Endeca.Navigation (Module: Endeca.Navigation) Version: 0.0.0.0