AFSortField Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Defines the field that is sorted.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public enum AFSortField
Public Enumeration AFSortField Dim instance As AFSortField
public enum class AFSortField
type AFSortField
Members
| Member name | Value | Description | |
|---|---|---|---|
| ID | 0 | The returned collection is sorted on the ID field. | |
| Name | 1 | The returned collection is sorted on the Name field. | |
| Type | 2 | The returned collection is sorted on the Type field. | |
| StartTime | 3 | The returned collection is sorted on the StartTime field. | |
| EndTime | 4 | The returned collection is sorted on the EndTime field. |
Remarks
The find methods use this enumeration to determine which field of
the object is used to sort the returned collection.
The EndTimeSearch feature can be checked to
determine if sorting by EndTime is supported.