ITcTreeItemCollection2::AddRange

Adds all items from another collection. For collections without duplicates, all items are checked first. As soon as a duplicate is detected, the method fails.

Signature

HRESULT AddRange(ITcTreeItemCollection* pColl);

Parameter

Name

Type

Description

pColl

ITcTreeItemCollection*

[in] Collection to which items are added.

Return value

Name

Type

Description

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes

See also