ITcSmTreeItem::LookupChild
Searches for a direct child in the enumerator of the current item. A case-insensitive comparison is performed against Name and, if available, against LanguageIndependentName from ITcSmTreeItem5.
Signature
HRESULT LookupChild(BSTR bstrName, ITcSmTreeItem** pipItem);
Parameter
|
Name |
Type |
Description |
|---|---|---|
|
bstrName |
BSTR |
[in] Name or language-independent name of the child being sought. |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
pipItem |
ITcSmTreeItem** |
[out, retval] Child found. |
|
(HRESULT) |
HRESULT |
|
Error codes
-
TSM_E_ITEMNOTFOUND: No matching direct child found. -
TSM_E_ITEMDELETED: The referenced Tree Item is no longer valid.