SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Reloads the file/folder's contents.
VB.NET | object.Reload(ByVal SyncContents As Boolean, ByVal Depth As Boolean) |
VB | object.Reload(ByVal SyncContents As Boolean, ByVal Depth As Boolean) |
C#.NET | void object.Reload(bool SyncContents, bool Depth); |
VC++ | HRESULT object->Reload(VARIANT_BOOL SyncContents, VARIANT_BOOL Depth); |
C | HRESULT object->raw_Reload(VARIANT_BOOL SyncContents, VARIANT_BOOL Depth); |
object
A SftDirectoryFolder object.
SyncContents
Defines how the folder is updated.
SyncContents | Description |
---|---|
True | The folder's current contents are updated by inserting new subfolders and removing deleted subfolders. |
False | The folder's contents are completely removed and all subfolders are reloaded. |
Depth
Defines how subfolders are updated.
Depth | Description |
---|---|
True | The folder's current contents are updated by visiting each already loaded subfolder and adding/removing new/deleted folders. |
False | The folder's contents are updated only. If SyncContents is False, Depth is ignored and the folder's contents are reloaded. |
The Reload method reloads the file/folder's contents.
By setting SyncContents to True, current content is left unmodified, preserving customizations to folders an application has made, such as folders' Tag properties. New folders are added and folders that no longer exist are removed. Otherwise, if SyncContents is set to False, the folder's contents are removed and then reloaded.
The control's contents can be reloaded using the control's Reload method.
See Also SftDirectoryFolder Object | Object Hierarchy