StreamLink.NET
CreateFieldSortRule Method (field, type, order)
StreamLink.NETCaplin.StreamLinkIParametersFactoryCreateFieldSortRule(String, FieldType, SortOrder)
Creates a new rule defining how the container records are to be sorted.

The container is sorted by the Caplin Refiner module at Caplin Transformer (see How to use Container Filtering and Sorting).

Declaration Syntax
C#Visual BasicVisual C++
IFieldSortRule CreateFieldSortRule(
	string field,
	FieldType type,
	SortOrder order
)
Function CreateFieldSortRule ( _
	field As String, _
	type As FieldType, _
	order As SortOrder _
) As IFieldSortRule
IFieldSortRule^ CreateFieldSortRule(
	String^ field, 
	FieldType type, 
	SortOrder order
)
Parameters
field (String)
The name of the field that the sort is based on.
type (FieldType)
The type of the field.
order (SortOrder)
The order in which the sorted container records are presented.
Return Value
A new IFieldSortRule.

Assembly: Caplin.StreamLink (Module: Caplin.StreamLink) Version: 5.0.23.0 (5.0.23.0)