Bagikan melalui


ITableEntriesSnapshot.IndexOf(Int32, ITableEntriesSnapshot) Metode

Definisi

Mengembalikan indeks entri di currentIndex dalam rekam jepret ini dalam rekam jepret selanjutnya (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

Parameter

currentIndex
Int32

Indeks entri dalam ini ITableEntriesSnapshot.

newSnapshot
ITableEntriesSnapshot

Rekam jepret yang diinginkan.

Mengembalikan

Indeks jika newSnapshot ada atau -1 sebaliknya.

Berlaku untuk