Adds a key/value pair to the ENEQueryInfo object.

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


public virtual void Add(
	string key,
	string val
Visual Basic
Public Overridable Sub Add ( _
	key As String, _
	val As String _
Visual C++
virtual void Add(
	String^ key, 
	String^ val


Type: System..::..String
The key for the key/value pair to be added to the ENEQueryInfo object.
Type: System..::..String
The value for the key.


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.

See Also