TableEntriesSnapshotBase.IndexOf(Int32, ITableEntriesSnapshot) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.