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


IEnumColors.Reset Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

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 (Code Files: frmAlgorithmicColorRamp) | Retrieve a color ramp from the SymbologyControl (Code Files: SymbolForm)

.NET Related Topics

Defining a renderer for a layer