Endeca Presentation API
Add Method (key, val)
NamespacesEndeca.NavigationENEQueryInfoAdd(String, String)
Adds a key/value pair to the ENEQueryInfo object.
Declaration Syntax
C#Visual BasicVisual C++
public virtual void Add(
	string key,
	string val
)
Public Overridable Sub Add ( _
	key As String, _
	val As String _
)
public:
virtual void Add (
	String^ key, 
	String^ val
)
Parameters
key (String)
The key for the key/value pair to be added to the ENEQueryInfo object.
val (String)
The value for the key.
Remarks
An application may call this method as many times as needed, as each call adds to the key/value pairs being stored in the ENEQueryInfo object. This method will discard keys or values that are NULL or empty strings.

All the key/value pairs will be logged in the Dgraph log when the ENEQueryInfo object is passed to the MDEX Engine with the the QueryInfo setting property.

Note that the current implementation of the basic constructor automatically generates two keys (sid and rid) and their values. This current behavior is deprecated. Therefore, developers should instead generate their own session and query IDs and use this method to override the values of the sid and rid keys.

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