Add Method

Applies To   See Also   Example  

This method is used to create a new InfoObject.

Syntax

Function Add(

    Plugin As PluginInfo) As InfoObject

Parameters

Plugin

The PluginInfo Object for the type of object to be created. If PluginInfo is NULL, users will be returned a non-typed InfoObject.

Remarks

When a plugin is given to the Add method, a new InfoObject is created based on the plugin type. For example, if the plugin is the user plugin, then the object created is a user object.

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