Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Using Collections

A collection is a list of objects that have been constructed from the same object class and that share the same parent object. The collection object always contains the name of the object type with the Collection suffix. For example, to access the columns in a specified table, use the ColumnCollection object type. It contains all the Column objects that belong to the same Table object.

The Microsoft Visual Basic For...Each statement or the Microsoft Visual C# foreach statement can be used to iterate through each member of the collection.

Community Additions

© 2015 Microsoft