/Engine/Source/Runtime/Slate/Public/Framework/Commands/UICommandList.h
Attempts to find an context for the specified command in the current UICommandList. If it is not found, the context for the specified command is discovered in the children recursively then the parents recursively.
const [FUIActionContext](API\Runtime\Slate\Framework\Commands\FUIActionContext) * GetContextForCommandRecursively ( const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< const [FUICommandInfo](API\Runtime\Slate\Framework\Commands\FUICommandInfo) > & Command, bool bIncludeChildren, bool bIncludeParents, [TSet](API\Runtime\Core\Containers\TSet)< [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< const [FUICommandList](API\Runtime\Slate\Framework\Commands\FUICommandList) >> & InOutVisitedLists ) const