ImageGear .NET v25.0 - Updated
CloseFile Method




ImageGear.Twain Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : CloseFile Method
Information on the file to close.
This method closes the file system context.
Syntax
'Declaration
 
Public Sub CloseFile( _
   ByVal fileInfo As ImGearFileInfo _
) 
'Usage
 
Dim instance As ImGearTWAIN
Dim fileInfo As ImGearFileInfo
 
instance.CloseFile(fileInfo)
public void CloseFile( 
   ImGearFileInfo fileInfo
)
public: void CloseFile( 
   ImGearFileInfo* fileInfo
) 
public:
void CloseFile( 
   ImGearFileInfo^ fileInfo
) 

Parameters

fileInfo
Information on the file to close.
Remarks

Prior to calling this method, use OpenSource to select the desired Data Source.

Every call to GetFirstFile must be matched by a call to CloseFile to release the file system context.

See Also

Reference

ImGearTWAIN Class
ImGearTWAIN Members
ImGearFileInfo Class