Generates the navigation descriptors of the ENEQuery after removing a descriptor.

Namespace: Endeca.Navigation
Assembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (6.2.2.8614)

Syntax

C#
public static DimValIdList RemoveDescriptor(
	Navigation n,
	DimVal descriptor
)
Visual Basic
Public Shared Function RemoveDescriptor ( _
	n As Navigation, _
	descriptor As DimVal _
) As DimValIdList
Visual C++
public:
static DimValIdList^ RemoveDescriptor(
	Navigation^ n, 
	DimVal^ descriptor
)

Parameters

n
Type: Endeca.Navigation..::..Navigation
The current Navigation object.
descriptor
Type: Endeca.Navigation..::..DimVal
The descriptor (a DimVal object) which will be removed.

Return Value

A DimValIdList object containing the IDs of the new navigation query descriptors after the removal of the descriptor (specified by the descriptor parameter).

Remarks

Removes the specified navigation descriptor (the descriptor parameter) from the set of descriptors in the Navigation object and generates a new set of navigation values for the ENEQuery. The order of the descriptors in the new navigation query remains the same as the order in the current Navigation object (specified by the n parameter), with the descriptor removed. Ancestors of the descriptor do not remain after the descriptor has been removed.

See Also