# MTRcdFileList

Contains a list of files returned by the RCD (Runtime Configuration Dispenser). See MTRcd for more information.

## MTRcdFileList Methods

AddFile | Adds a file to the container.

## MTRcdFileList Properties

Count | Retrieves the number of files in the list.
Item | Retrieves the item at the supplied index.

## Example

Example to be provided in a future release of this online help system.

# Method Detail

## AddFile

Adds a file to the container.

### Visual Basic Syntax

Sub AddFile(newVal As String)

### C++ Syntax

HRESULT AddFile([in] BSTR newVal);

### Arguments

newVal

The name of the file to add to the list.

# Property Detail

## Count

Retrieves the number of files in the list.

This is a read-only property.

### Visual Basic Syntax

Property Count As Long

### C++ Syntax

HRESULT Count([out, retval] long *pVal);

### Return Value

The number of files in the list.

## Item

Retrieves the item at the supplied index.

This property is read only.

### Visual Basic Syntax

Property Item(aIndex As Long) As Long

### C++ Syntax

HRESULT Item([in] long aIndex, [out, retval] VARIANT *pVal);

### Arguments

aIndex

The index for file name to be retrieved.

### Return Value

A pointer to the file name at the aIndex position.