ImageGear .NET v25.2 - Updated
ImageGear.Twain Assembly / ImageGear.TWAIN Namespace / ImGearTWAIN Class / CloseFile Method
Information on the file to close.




In This Topic
    CloseFile Method
    In This Topic
    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