'Declaration Public Overloads Sub Refresh()
'Usage Dim instance As FileSystemItem instance.Refresh()
public void Refresh()
'Declaration Public Overloads Sub Refresh()
'Usage Dim instance As FileSystemItem instance.Refresh()
public void Refresh()
When a FileSystemItem object's properties, such as Attributes or 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.
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