ITableEntriesSnapshot.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:
int IndexOf(int currentIndex, Microsoft::VisualStudio::Shell::TableManager::ITableEntriesSnapshot ^ newSnapshot);
public int IndexOf (int currentIndex, Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshot newSnapshot);
abstract member IndexOf : int * Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshot -> int
Public 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.