ITableEntriesSnapshot.IndexOf(Int32, ITableEntriesSnapshot) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回稍後快照集 () 中此快照集的專案newSnapshot
索引currentIndex
。
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
參數
- currentIndex
- Int32
這個 ITableEntriesSnapshot中專案的索引。
- newSnapshot
- ITableEntriesSnapshot
所需的快照集。
傳回
如果索引 newSnapshot
存在,則為 ,否則為 -1。