protected int GetIndexAndEntryForKey(string key, out DictionaryEntry entry)

Gets the index and the entry for a given key.

Parameters

Name Description
key The key to locate.
entry When the function returns, this will be set to the entry associated with the specified key.

Return

The index of the entry if it is located or -1 if the key could not be found.