Initializes an instance of a SortBinding object.

C# | Visual Basic | Visual C++ |
public SortBinding( string fieldName, SortDirections direction )
Public Sub New ( _ fieldName As String, _ direction As SortDirections _ )
public: SortBinding( String^ fieldName, SortDirections direction )

- fieldName (String)
- The field or property name to sort by
- direction (SortDirections)
- The direction of the sorting