ShellControlConnectorCanNavigate Method |
Use this function to check if navigating the passed ItemIdList is allowed.
It currently calls the cancellable
FolderChanging event, that can be implemented to prohibit paths.
Namespace:
Jam.Shell
Assembly:
ShellBrowser (in ShellBrowser.dll) Version: 7.1
Syntax public bool CanNavigate(
Object pSender,
ItemIdList pItemIdList
)
Public Function CanNavigate (
pSender As Object,
pItemIdList As ItemIdList
) As Boolean
public:
virtual bool CanNavigate(
Object^ pSender,
ItemIdList^ pItemIdList
) sealed
abstract CanNavigate :
pSender : Object *
pItemIdList : ItemIdList -> bool
override CanNavigate :
pSender : Object *
pItemIdList : ItemIdList -> bool
Parameters
- pSender
- Type: SystemObject
The sender of the path change; it is passed to the eventhandler. - pItemIdList
- Type: Jam.ShellItemIdList
The ItemIdList that should be checked.
Return Value
Type:
BooleanA boolean indicating if navigation to the passed ItemIdList is allowed or not.
Implements
IShellControlConnectorCanNavigate(Object, ItemIdList)See Also