Releases any open resources and returns object to default state.

 

   
Syntax
 
     

File.Close

 

   
Notes
 
     

This method releases any open resources held by the file object and resets all fields to defaults. Close is automatically called when an object is destroyed but under certain circumstances - for example if an object is to be returned to a pool - it may be desirable to call it explicitly.

 

   
See Also
 
     

Metadata Close method.