ITcTreeItemCollection2::Remove
Removes an item from the collection, if it is present, and decrements its reference counter. The result is reported via bRemoved.
Signature
HRESULT Remove(ITcSmTreeItem7* pItem, VARIANT_BOOL* bRemoved);
Return value
Name | Type | Description |
|---|---|---|
bRemoved | VARIANT_BOOL* | [out, retval] |
(HRESULT) | HRESULT |
|
Error codes
-
E_POINTER:pItemisNULL. -
E_FAIL: The collection is read-only.