Sets the sort to the given criteria.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual void SetSort(
	SortField field
)
Visual Basic
Public Overridable Sub SetSort ( _
	field As SortField _
)
Visual C++
public:
virtual void SetSort(
	SortField^ field
)

Parameters

field
Type: Lucene.Net.Search..::..SortField

[Missing <param name="field"/> documentation for "M:Lucene.Net.Search.Sort.SetSort(Lucene.Net.Search.SortField)"]

See Also