Xceed Real-Time Zip for .NET Documentation
DoRefresh Method (ZippedFile)


Xceed.Zip Assembly > Xceed.Zip Namespace > ZippedFile Class : DoRefresh Method
A reference to a Xceed.FileSystem.FileSystemEventsSession object which is responsible for raising all events that occur during the process.
Re-reads the information from the physical item.
Syntax
'Declaration
 
Protected Overrides Sub DoRefresh( _

   ByVal session As Xceed.FileSystem.FileSystemEventsSession _

) 
'Usage
 
Dim instance As ZippedFile

Dim session As Xceed.FileSystem.FileSystemEventsSession

 

instance.DoRefresh(session)
protected override void DoRefresh( 

   Xceed.FileSystem.FileSystemEventsSession session

)

Parameters

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

When a Xceed.FileSystem.FileSystemItem object's properties, such as Xceed.FileSystem.FileSystemItem.Attributes or Xceed.FileSystem.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.

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

ZippedFile Class
ZippedFile Members
Base Implementation in DoRefresh