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

CommonEngine.TransformFile Method 

Transform the records of type sourceType in the sourceFile in records of type destType and write them to the destFile. (but returns the transformed records) WARNING: this is a slower method that the TransformFileAssync.

[Visual Basic]
Public Shared Function TransformFile( _
   ByVal sourceFile As String, _
   ByVal sourceType As Type, _
   ByVal destFile As String, _
   ByVal destType As Type _
) As Object()
[C#]
public static object[] TransformFile(
   string sourceFile,
   Type sourceType,
   string destFile,
   Type destType
);

Parameters

sourceFile
The file with records to be transformed
sourceType
The Type of the records in the source File.
destFile
The destination file with the transformed records
destType
The Type of the records in the dest File.

Return Value

The transformed records.

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