Click or drag to resize

CommonEngineSortFile Method

Sort the contents of the source file and write them to the destination file.

Namespace:  FileHelpers
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public static void SortFile(
	Type recordClass,
	string sourceFile,
	string sortedFile
)

Parameters

recordClass
Type: SystemType
Record Class (remember that need to implement the IComparable interface or use the SortFileByfield instead)
sourceFile
Type: SystemString
The source file.
sortedFile
Type: SystemString
The destination File.
See Also