ITcTreeItemCollection2::Contains

Checks whether the exact same ITcSmTreeItem7 reference is contained in the collection.

Signature

HRESULT Contains(ITcSmTreeItem7* pItem, VARIANT_BOOL* pbContained);

Parameter

Name

Type

Description

pItem

ITcSmTreeItem7*

[in] Item to be checked.

Return value

Name

Type

Description

pbContained

VARIANT_BOOL*

[out, retval] VARIANT_TRUE, if the item is found.

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes

See also