Minimum and Maximum Collection Size

The most important way that a collection can conform to a collection type is in its size. That is, a collection type describes the size limitations on any collection conforming to it. In the following table, each instance of the collection type Publisher-of-book describes the collection of publishers of a particular book. A typical instance of this collection type is "Publisher-of-Inside-OLE." In the table, each book has only one publisher.

The collection type can define this restriction. That is, the Publisher-of-book collection type can impose on each collection conforming to it a maximum size of one. Similarly, the collection type can define a minimum-size restriction.

The following list contains some other examples: