ITcSysManager13::CreateItemCollection

Creates a new empty ITcTreeItemCollection2 that callers can populate and pass to other APIs.

Signature

HRESULT CreateItemCollection(VARIANT_BOOL bAllowDuplicates, ITcTreeItemCollection2** ppItems);

Parameter

Name

Type

Description

bAllowDuplicates

VARIANT_BOOL

[in, defaultvalue(0)] VARIANT_TRUE: The same Tree Item may appear multiple times in the collection.

Return value

Name

Type

Description

ppItems

ITcTreeItemCollection2**

[out, retval] Empty, mutable collection.

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

See also