Sdílet prostřednictvím


ITableEntriesSnapshot.IndexOf(Int32, ITableEntriesSnapshot) Metoda

Definice

Vrátí index položky v currentIndex tomto snímku v pozdějším snímku (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

Index položky v tomto ITableEntriesSnapshotsouboru .

newSnapshot
ITableEntriesSnapshot

Požadovaný snímek.

Návraty

Index v, newSnapshot pokud existuje, nebo -1 v opačném případě.

Platí pro