writer class : Release() method

Description

Release the unmanaged resources that are used in the writer.

Syntax

writerInstance.Release()

Arguments

None

Return value

None

Sample code

1:

writer w = new writer("c:\somewhere...\sample.txt");

2:

w.Release();

Notes

It calls the Dispose() method for releasing instances of System.IO.StreamWriter which is used in writer class.

The instance that called the Release() method is returned to the uninitialized state.

Links for reference

None

Copyright © Cooker All rights reserved.