ITableEntriesSnapshot.IndexOf(Int32, ITableEntriesSnapshot) Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Zwraca indeks wpisu w currentIndex
tej migawki w późniejszej migawki (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
Parametry
- currentIndex
- Int32
Indeks wpisu w tym ITableEntriesSnapshotobiekcie .
- newSnapshot
- ITableEntriesSnapshot
Żądana migawka.
Zwraca
Indeks w newSnapshot
pliku , jeśli istnieje lub -1 w przeciwnym razie.