Click or drag to resize

ShellBrowserBaseCheckIfValid Method (Boolean, Boolean)

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.1
Syntax
protected bool CheckIfValid(
	bool p_ThrowException,
	bool p_FolderOnly
)

Parameters

p_ThrowException
Type: SystemBoolean
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
Type: SystemBoolean
Only checks if the set folder is valid.

Return Value

Type: 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