Udostępnij za pośrednictwem


ITableEntriesSnapshot.IndexOf(Int32, ITableEntriesSnapshot) Metoda

Definicja

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.

Dotyczy