This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IC > ICustomColorPalette Interface > ICustomColorPalette.ColorSet Property (ArcObjects .NET 10.5 SDK) |
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.