This document is archived and information here might be outdated.  Recommended version.


IEnumColors.Reset Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IE > IEnumColors Interface > IEnumColors.Reset Method
ArcGIS Developer Help

IEnumColors.Reset Method

Resets the enumerator to the beginning.

[Visual Basic .NET]
Public Sub Reset ( _
)
[C#]
public void Reset (
);
[C++]
HRESULT Reset(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Reset returns the cursor that navigates the IEnumColors object to the first color. Thus, the next time the Next method is used, the first color in the IEnumColors object will be returned.

See Also

IEnumColors Interface

.NET Samples

Use an AlgorithmicColorRamp to color a ClassBreaksRenderer Retrieve a color ramp from the SymbologyControl