Add Method

Applies To   See Also  

Use this method to add an action to the collection. Specify an Action ID and Name. Optionally, specify any flags and pictures to be added.

Syntax
Sub Add(
    ID As Long,
    Name As String,
    [Flags As CeActionFlags = ceHTMLAction],
    [Picture As IPictureDisp])
Parameters

ID

The ID of the action to be added.

Name

The name of the action to be added.

Flags

Flags available for plugin actions. Multiple flags can be specified.

Picture

Specify the icon to be set for the action. IPictureDisp is a standard OLE picture object (stdole).

Remarks

The Add method checks for existing objects with the same key in the collection. If appropriate, the existing object will be returned or updated; otherwise, an error is returned.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com