This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Cadastral > ESRI.ArcGIS.Cadastral > Interfaces > IC > ICadastralAdjustmentInfo Interface > ICadastralAdjustmentInfo.Reset Method (ArcObjects .NET 10.4 SDK) |
Assign the next Cadastral Adjustment for retrieval by the Next method to be the given adjustment level.
[Visual Basic .NET] Public Sub Reset ( _ ByVal adjustmentLevel As Integer _ )
[C#] public void Reset ( int adjustmentLevel );
Reset the position within the set of Cadastral Adjustments to be retrieved by the Next method.
The Reset method is used to set the starting point for the adjustment level, date, outline geometry data trios returned by the Next method. The data are ordered by the adjustment level which is unique for each Cadastral Fabric. There can be gaps in the sequence of adjustment levels stored on the Cadastral Fabric therefore the starting position corresponds to the next available adjustment level from that requested. For example, if the Cadastral Fabric contained adjustment levels {5, 6, 9, 15, 24}, calling Reset(7) or Reset(9) would both position the next data trio at adjustment level 9.
To reset the starting point to the first entry, use an adjustmentLevel argument of 0 or 1. A negative value is treated as 0.
The adjustmentLevel argument must not be negative.