FilterResultsByFileType Property

UltimateSearch

Collapse imageExpand ImageCopy imageCopyHover image
Gets or sets the file types to filter the search results.

Namespace: Karamasoft.WebControls.UltimateSearch
Assembly: UltimateSearch (in UltimateSearch.dll) Version: 3.7.4186.26690

Syntax

C#
public string FilterResultsByFileType { get; set; }
Visual Basic
Public Property FilterResultsByFileType As String
	Get
	Set
Visual C++
public:
property String^ FilterResultsByFileType {
	String^ get ();
	void set (String^ value);
}

Field Value

Comma delimited list of file types (e.g. aspx,asp,html,htm) that the search result urls can end with in order for them to be displayed. If you want to display all results leave this property empty. Otherwise the control will check each search result's file type, and will display it if it ends with one of the file types specified in this property.

Remarks

Use this property to set the file types to filter the search results.

Note that filtering search results doesn't have any impact on indexing. If you don't want to index portions of your page content you can wrap each portion between ignore tags as follows:

<!-- UltimateSearch_IgnoreBegin -->ignored content<!-- UltimateSearch_IgnoreEnd -->

See Also