PlanetPress Capture Library
TFileList Class Reference

This object is a collection of file names for use with the PgcUtility object. More...

List of all members.

Public Member Functions

Integer Add (const WideString FileName)
 Adds a new file name at the end of the collection.
 Delete (Integer Index)
 Deletes a file name from the collection.

Public Attributes

WideString Item
 Returns the file name at index ItemIndex.
Integer Count
 Number of items in the collection.

Detailed Description

This object is a collection of file names for use with the PgcUtility object.

The names may or may not contain the path component depending on which PgcUtility method it is used with. Instances of this object can be created using the CaptureLib.FileList ProgID.

See also:
TPgcUtility

Member Function Documentation

Integer TFileList::Add ( const WideString  FileName)

Adds a new file name at the end of the collection.

Parameters:
FileNameFile name to add.
Returns:
0-based index at which the file name was added.
TFileList::Delete ( Integer  Index)

Deletes a file name from the collection.

Parameters:
Index0-based index of the file name to remove.

Member Data Documentation

Number of items in the collection.

WideString TFileList::Item

Returns the file name at index ItemIndex.

Parameters:
ItemIndexIndex of the file name to retrieve.