Compartilhar via


IRowsetCurrentIndex

IRowsetCurrentIndex is the interface for determining and selecting a specific index for a rowset. This is limited to rowsets that expose IRowsetIndex. IRowsetCurrentIndex provides a mechanism for providers to reorder their rows without reopening the rowset. This interface can be effective for both integrated and nonintegrated indexes. For a complete description of indexes, see Index Rowsets and Integrated Indexes.

When to Implement

IRowsetCurrentIndex is optional for providers that support integrated or nonintegrated indexes through IRowsetIndex. Providers that support IRowsetIndex and can change the current index dynamically should implement this interface.

When to Call

Method

Description

GetIndex

Gets the current index on the rowset.

SetIndex

Sets the current index on the rowset.

This topic is a part of: