IUIX_CmdItemBox::DeleteItemsByCmd Method
From PDF XChange PDF SDK
Removes command items from the command items box by the correspondent command.
Syntax
HRESULT DeleteItemsByCmd([in] IUIX_Cmd* pCmd, [in, defaultvalue(-1)] VARIANT_BOOL bRecursive, [in, defaultvalue(0)] VARIANT_BOOL bFirstOnly);
Parameters
- pCmd
- [in] Pointer to IUIX_Cmd containing the command that will be used to remove correspondent command items.
- bRecursive
- [in, defaultvalue(-1)] Value of VARIANT_BOOL representing whether the search should be recursive (in command itemss sub-menus).
- bFirstOnly
- [in, defaultvalue(0)] Value of VARIANT_BOOL representing whether the only first corresponding item should be removed.
Return Value
Returns S_OK if operation was successful or error code in other cases.