API | ITcTreeItemCollection Interface versions 5.10.1 ITcTreeItemCollection | ITcTreeItemCollection Expanded by: ITcTreeItemCollection2 ITcTreeItemCollection is a COM collection for ITcSmTreeItem7 objects. It supports count, index-based access, and enumeration over IEnumVARIANT . The collection holds references to the Tree Items it contains. Properties Methods 5.10.1.1 ITcTreeItemCollection::_NewEnum | ITcTreeItemCollection::_NewEnum Creates an IEnumVARIANT for the contained Tree Items. Each element is entered as a VT_DISPATCH with the Tree Item's dispatch interface. Signature HRESULT _NewEnum(IUnknown** ppUnk); Parameter (none) Return value Error codes E_OUTOFMEMORY :
The internal VARIANT array could not be created. Errors from QueryInterface(IID_IDispatch) are passed on. TE1000 92 Version: 1.7.0 Version Newly introduced Index ITcTreeItemCollectio n Read-Only Collection: Count, Item, NewEnum. _ ITcTreeItemCollection ITcTreeItemCollectio n2 Write operations: Add, AddRange, Remove, Clear, Contains, ContainsPath. ITcTreeItemCollection2 Property Type get/set Description Count long* get Number of Tree Items references held internally. Item ITcSmTreeItem7 [} 63]** get Returns a contained item based on a 0-based index. Method Description NewEnum _ Creates an IEnumVARIANT for the contained Tree Items.
Name Type Description ppUnk IUnknown** [out, retval] Enumerator that can be queried as IEnumVARIANT. (HRESULT) HRESULT S OK if successful, otherwise an error code. _