[This is preliminary documentation and is subject to change.]
public void ResetIndex( int keyNum )
- keyNum (Int32)
- The key number of the index to be reset.
If a distinctive property in an object in a collection is modified, the corresponding index is not automatically updated. It is up to the programmer to ensure that the index is recomputed if they are to be used again. This method does that, simply by removing the index. The next time the index is accessed, it will be recreated in the usual way.
A less drastic way of updating index entries for individual objects is to use the Reindex method.