Xceed .NET Libraries Documentation
DoRefresh(Attrs) Method


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > SFtpFolder Class > DoRefresh Method : DoRefresh(Attrs) Method
The Xceed.SSH.SFtp.Attrs to use.
Re-reads the information from the physical folder using the passed Xceed.SSH.SFtp.Attrs.
Syntax
'Declaration
 
Protected Overloads Sub DoRefresh( _

   ByVal info As Attrs _

) 
'Usage
 
Dim instance As SFtpFolder

Dim info As Attrs

 

instance.DoRefresh(info)
protected void DoRefresh( 

   Attrs info

)

Parameters

info
The Xceed.SSH.SFtp.Attrs to use.
Remarks
When a FileSystemItem object's properties, such as FileSystemItem.Attributes or FileSystemItem.CreationDateTime, are first accessed, a snapshot of the underlying physical item's properties is taken. This snapshot is not automatically updated whenever the physical item's properties change.

FileSystemItem.Refresh re-reads the information from the physical item and updates the snapshot.

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

SFtpFolder Class
SFtpFolder Members
Overload List