Click or drag to resize

PFQueryAddOrder Method

Adds a new sorting rule.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public PFQueryOrder AddOrder(
	string fieldName,
	PFQueryOrderType type = PFQueryOrderType.Ascending
)

Parameters

fieldName
Type: SystemString
Name of the field/column.
type (Optional)
Type: Packflow.CorePFQueryOrderType
Ascending or Descending.

Return Value

Type: PFQueryOrder
The created order.
See Also