ShellBrowser Delphi Components Documentation
|
Checks if the current object is in a valid state for performing operations
function CheckIfValid(pFolderOnly: Boolean = False): Boolean;
Parameters |
Description |
pFolderOnly: Boolean = False |
Pass true if this function should check only if a valid folder is set, pass false if it should also check if a valid object is set. |
Boolean: true, if the current state is valid for performing operations; otherwise false
Exceptions |
Description |
EInvalidOperationException |
This exception is thrown if there is no current folder or current object set. |