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
Syntaxpublic static void SortFile(
Type recordClass,
string sourceFile,
string sortedFile
)
Public Shared Sub SortFile (
recordClass As Type,
sourceFile As String,
sortedFile As String
)
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