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

FileHelperEngine.WriteStream Method (TextWriter, IEnumerable, Int32)

Write the specified number of records in the array to the Stream.

[Visual Basic]
Overloads Public Sub WriteStream( _
   ByVal writer As TextWriter, _
   ByVal records As IEnumerable, _
   ByVal maxRecords As Integer _
)
[C#]
public void WriteStream(
   TextWriter writer,
   IEnumerable records,
   int maxRecords
);

Parameters

writer
The writer of the source stream.
records
The records to write (Can be an array, ArrayList, etc)
maxRecords
The max number of array elements to write.

Return Value

True if the operation is successful. False otherwise.

Remarks

This method only uses the stream and don't close them after use it, you must do it.

Example

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


        

See Also

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