A Collection Object

Each of the Collection objects listed earlier in Section 1.1 supports a single method and a single property.

Methods

Method

Type

Version

Description

Refresh

Sub

3.0/3.5

Updates the collection to reflect recent changes

Properties

Property

Type

Version

Description

Count

Integer

3.0/3.5

Number of objects in the collection (read-only)

In addition, DynaCollection objects—that is, Collection objects whose members can be dynamically added and removed—have the two additional methods:

Methods

Method

Parameters

Returns

Version

Description

Append

Object As Object

Sub

3.0/3.5

Appends an object to the collection

Delete

Name As String

Sub

3.0/3.5

Deletes an object from the collection

Get Access Database Design and Programming, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.