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

FileHelperEngine.AppendToFile Method (String, IEnumerable)

Append an array of records to the specified file.

[Visual Basic]
Overloads Public Sub AppendToFile( _
   ByVal fileName As String, _
   ByVal records As IEnumerable _
)
[C#]
public void AppendToFile(
   string fileName,
   IEnumerable records
);

Parameters

fileName
The file path to be written at end.
records
The records to write (Can be an array, ArrayList, etc)

Return Value

True if the operation is successful. False otherwise.

Remarks

This method open, seek ends, write and close the file (don't open or close the file before or after to call this method)

Example

This example show the basic use of the library with minimun code:


        

See Also

FileHelperEngine Class | FileHelpers Namespace | FileHelperEngine.AppendToFile Overload List


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