TableEntriesSnapshotBase.IndexOf(Int32, ITableEntriesSnapshot) Method

Definition

Returns the index of the entry at currentIndex in this snapshot in a later snapshot (newSnapshot).

public:
 virtual int IndexOf(int currentIndex, Microsoft::VisualStudio::Shell::TableManager::ITableEntriesSnapshot ^ newSnapshot);
public virtual int IndexOf (int currentIndex, Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshot newSnapshot);
abstract member IndexOf : int * Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshot -> int
override this.IndexOf : int * Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshot -> int
Public Overridable Function IndexOf (currentIndex As Integer, newSnapshot As ITableEntriesSnapshot) As Integer

Parameters

currentIndex
Int32

Index of the entry in this ITableEntriesSnapshot.

newSnapshot
ITableEntriesSnapshot

Desired snapshot.

Returns

The index in newSnapshot if it exists or -1 otherwise.

Implements

Applies to