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

FileHelperEngine.WriteFile Method (String, IEnumerable)

Write an array of records to the specified file.

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

Parameters

fileName
The file path to be write.
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, write and close the file (don't open or close the file before or after to call this method)

This method overrides existing files.

Example

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


        

See Also

FileHelperEngine Class | FileHelpers Namespace | FileHelperEngine.WriteFile 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