Click or drag to resize

ShellBrowserBaseCheckIfValid(Boolean, Boolean) Method

Checks if the current object is in a valid state for performing operations

Namespace: Jam.Shell
Assembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntax
protected bool CheckIfValid(
	bool p_ThrowException,
	bool p_FolderOnly
)

Parameters

p_ThrowException  Boolean
Pass true if this function should throw an InvalidOperationException if the state is invalid. If the return value is of interest, pass false.
p_FolderOnly  Boolean
Only checks if the set folder is valid.

Return Value

Boolean
true, if the current state is valid for performing operations; otherwise false
Exceptions
ExceptionCondition
InvalidOperationExceptionThis excpetion is thrown if there is nor current folder or current object set.
See Also