CommonEngineMergeAndSortFile Method (Type, String, String, String, String) |
Merge the contents of 2 files and write them sorted to a destination file.
Namespace:
FileHelpers
Assembly:
FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntaxpublic static Object[] MergeAndSortFile(
Type recordType,
string file1,
string file2,
string destFile,
string field
)
Public Shared Function MergeAndSortFile (
recordType As Type,
file1 As String,
file2 As String,
destFile As String,
field As String
) As Object()
Parameters
- recordType
- Type: SystemType
The record Type. - file1
- Type: SystemString
File with contents to be merged. - file2
- Type: SystemString
File with contents to be merged. - destFile
- Type: SystemString
The destination file. - field
- Type: SystemString
The name of the field used to sort the records.
Return Value
Type:
ObjectThe merged and sorted records.
See Also