Keyoti SearchUnit API Docs
DataSource Property
API DocumentationKeyoti.SearchEngine.WebSearchResultDataSource
Keyoti SearchUnit v6
An optional DataSet instance that will be used as the source of the search results (see remarks).
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public virtual DataSet DataSource { get; set; }
public virtual DataSet DataSource { get; set; }
Public Overridable Property DataSource As DataSet
	Get
	Set
Public Overridable Property DataSource As DataSet
	Get
	Set
public:
virtual property DataSet^ DataSource {
	DataSet^ get ();
	void set (DataSet^ value);
}
public:
virtual property DataSet^ DataSource {
	DataSet^ get ();
	void set (DataSet^ value);
}
abstract DataSource : DataSet with get, set
override DataSource : DataSet with get, set
abstract DataSource : DataSet with get, set
override DataSource : DataSet with get, set
Property Value
Remarks
When this property is set to anything other than a null instance, the DataSet specified will be used as the search results, INSTEAD of the search results found internally. This is useful when merging different result sets. The DataSet's first table will be used for results, with each row corresponding to a result. The table must contain AT LEAST the following columns for correct operation;
  • URIString
  • Summary
  • Title
Where each is a string, corresponding in meaning to the properties of the same name in the ResultItem control. Additional columns may exist, and these can be accessed via the ItemCreated of this control, whose event arguments provide access to the current DataRow. Please see the demo projects for an example.

Assembly: Keyoti4.SearchEngine.Web (Module: Keyoti4.SearchEngine.Web.dll) Version: 2015.6.15.120