NewList Method
Creates a list of objects according to the specified filter.
Visual Basic
Public Function NewList( _
   ByVal Filter As String _
) As List
A TDFilter.Text defining the criteria for filtering items in the factory. If an empty string is passed, the returned list contains all the child items of the current factory object.
Return Type

A reference to the list created. The list index is 1-based.

In Quality Center version 9.2, if no sub-type is specified in the filter, only attachments with an empty sub-type are returned. This behavior will be changed in later versions. Sub-types are specified with the tagTDAPI_ATTACH_SUBTYPE Enumeration.
See Also