ITcTreeItemCollection2::ContainsPath

Checks, case-insensitively, whether an item in the collection has the same PathName as pathName.

Signature

HRESULT ContainsPath(BSTR pathName, VARIANT_BOOL* pbContained);

Parameter

Name

Type

Description

pathName

BSTR

[in] Path name to be checked.

Return value

Name

Type

Description

pbContained

VARIANT_BOOL*

[out, retval] VARIANT_TRUE if an item with this path is found.

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

See also