Amazon Wish List News RSS feed. Development Blog Browse the Forums  
  Overview - Downloads - Examples - News Feed - Contact Info -

CommonEngine.SortFile Method 

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

[Visual Basic]
Public Shared Sub SortFile( _
   ByVal recordClass As Type, _
   ByVal sourceFile As String, _
   ByVal sortedFile As String _
)
[C#]
public static void SortFile(
   Type recordClass,
   string sourceFile,
   string sortedFile
);

Parameters

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

See Also

CommonEngine Class | FileHelpers Namespace


Powered by:

Source Forge Thanks Jetbrains for support us !! Thanks BB Software for support us !! TestDriven.NET Code Coverage by Clover.NET Code Project Article Larkware News Sharp Toolbox