
Collections of Collections..how?
3 classes: colIP, clsIp, clsPort.
clsPort has properties that define a port, or service.
clsIP has properties that identify an IP, and a collection of clsPort's
that identify the services provided.
colIp is a collection class containing the various IP's.
How to make a class hold a collection of other classes is (I believe)
included in the Programmers Guide for VB.
LFS
Quote:
> I want to create a collection of collections, such as, First I have say a
> IPs, a collection of, and to each IP Id like to add thier Port and
> ServiceName, might be 1 Port/ServiceNmae, and might be 20 of them to this
> IP, hence another collection. How would I set this up using classes and
> collections. Ideas/examples anyone?