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

Retrieve a color ramp from the SymbologyControl (Code Files: SymbolForm) | Use an AlgorithmicColorRamp to color a ClassBreaksRenderer (Code Files: frmAlgorithmicColorRamp) |

.NET Related Topics

How to define a renderer for your layer |