The method List retrieves a list of all ITP Models that the user, as indicated by the property UserID, is allowed to access.
bool List (string pattern);
The parameter pattern specifies the pattern of the ITP Models that should be returned.
If the function returns true, an XML data file with a list of models and model folders is stored in the file specified by the property InfoFile. If the file models.ini is located in one of the folders, the XML data file will also contain the characteristics as described in this models.ini file. See chapter Models.ini for a description of the content and syntax of the file models.ini.
If the function returns false, then the request has failed, and the file specified by the property InfoFile will contain XML error data.
An example (List.xml) of the XML data file returned by the method List can be found in the subfolder Apis\Online\Example XML Files of the ITP/Server installation folder.