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.ShellAssembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntaxpublic 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 Object
- The sender of the path change; it is passed to the eventhandler.
- pItemIdList ItemIdList
- The ItemIdList that should be checked.
Return Value
BooleanA boolean indicating if navigation to the passed ItemIdList is allowed or not.
Implements
IShellControlConnectorCanNavigate(Object, ItemIdList)
See Also