Microsoft DirectX 8.1 (C++)

ICATolls.Add

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The Add method adds a toll to the collection.

Syntax

objCATolls.Add(
    Toll As ICAToll)

Parameters

  Toll

Specifies the ICAToll object to add to the collection.

Error Codes

If the method fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

No return value.

Remarks

Adding a toll triggers an ItemAdded event.

For the toll to be valid, one of the following must be true:

See Also