Xceed .NET Libraries Documentation
DoRefresh Method (FtpFolder)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpFolder Class : DoRefresh Method
A reference to a Xceed.FileSystem.FileSystemEventsSession object which is responsible for raising all events that occur during the process.
For an FTP folder, we cannot force a refresh on every request as it would simply make useless round-trips to the FTP server. The whole refresh scheme is the responsibility of the FtpConnection.
Syntax
'Declaration
 
Protected Overrides Sub DoRefresh( _

   ByVal session As FileSystemEventsSession _

) 
'Usage
 
Dim instance As FtpFolder

Dim session As FileSystemEventsSession

 

instance.DoRefresh(session)
protected override void DoRefresh( 

   FileSystemEventsSession session

)

Parameters

session
A reference to a Xceed.FileSystem.FileSystemEventsSession object which is responsible for raising all events that occur during the process.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FtpFolder Class
FtpFolder Members
Base Implementation in DoRefresh