This document is archived and information here might be outdated. Recommended version. |
The Color Objects.
[Visual Basic .NET]
Public WriteOnly Property ColorSet
[C#] public void ColorSet {set;}
Set the ColorSet to a Set coclass. The Set coclass, which supports the ISet interface required by the ColorSet property, should contain the Color objects you wish to display.
Note that since the ISet.Add method passes the item by reference, youmust create a new color object to pass into the method each time.