Add Method (AccessObjectProperties Collection)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

                 

You can use the Add method to add a new property as an AccessObjectProperty object to the AccessObjectProperties collection of an AccessObject object.

Syntax

object.Addpropertyname, value

The Add method has the following arguments.

Argument Description
object A string expression that evaluates to the AccessObjectProperties collection of an AccessObject object.
propertyname A string expression that's the name of the new property.
value A Variant value corresponding to the option setting. The setting of the value argument depends on the possible settings for a particular option. Can be a constant value or a string value.

Remarks

You can use the Remove method of the AccessObjectProperties collection to delete an existing property.