ArcObjects Library Reference (System)  

ISet.Reset Method

Resets the set for enumerating through the objects with Next.

[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

The Reset method resets the Set so that the next call to the Next method returns the first object in the Set.

Remarks

The order that objects are returned from the Set object using the Next method is not guaranteed to be the same order as they were passed into the Add method.  However, the Next method will return the objects in the same order.

See Also

ISet Interface

.NET Samples

Create a custom raster function (Code Files: WatermarkFunctionUIClass) | Implementing a schematic digitizing tool (Code Files: DigitTool) | Implementing a schematic rule and its property page (Code Files: ReductionLinkPropertyPage) | Layer property page and property sheet (Code Files: LayerVisibilityPage) | Move a graphic along a path in ArcMap (Code Files: MapGraphicTrackPropPage) | Multivariate renderer (Code Files: MultivariateRendPropPage) | Schematic diagram auto refresh (Code Files: FormAutorefresh) | Time Series Graph tool add-in (Code Files: TimeSeriesGraph) | Timestamper class extension (Code Files: TimestampPropertyPage) |

.NET Related Topics

Creating a predefined vertical coordinate system | Creating class extensions | Creating custom symbols | DefenseSolutions | Using the SpatialReferenceEnvironment |