In This Topic
The GoColorCollection
class represents a collection of mappings between Strings and GoColor
structures. From String
to GoColor
, the mapping is a one-to-one relationship. In other words, each String
maps to one and only one GoColor
structure. From GoColor
to String
, the mapping is a many-to-one relationship. In other words, each GoColor
structure can map to multiple Strings
. The GoColorCollection
accepts GoColor
structures with null String
values. In this case, the GoColor
is added to the collection without a mapping a String
object. However, null
will not map to GoColor
structures without String
associations.
Syntax
See Also