ITableEntriesSnapshot.IndexOf(Int32, ITableEntriesSnapshot) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Restituisce l'indice della voce in corrispondenza currentIndex
di questo snapshot in uno snapshot successivo (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
Parametri
- currentIndex
- Int32
Indice della voce in questo ITableEntriesSnapshotoggetto .
- newSnapshot
- ITableEntriesSnapshot
Snapshot desiderato.
Restituisce
Indice in newSnapshot
se esistente o -1 in caso contrario.