TagList.IndexOf(KeyValuePair<String,Object>) Метод

Определение

Выполняет поиск указанного тега и возвращает отсчитываемый от нуля индекс первого вхождения в пределах всего TagList.

public:
 virtual int IndexOf(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item);
public readonly int IndexOf (System.Collections.Generic.KeyValuePair<string,object?> item);
abstract member IndexOf : System.Collections.Generic.KeyValuePair<string, obj> -> int
override this.IndexOf : System.Collections.Generic.KeyValuePair<string, obj> -> int
Public Function IndexOf (item As KeyValuePair(Of String, Object)) As Integer

Параметры

item
KeyValuePair<String,Object>

Тег для поиска в TagList.

Возвращаемое значение

Отсчитываемый от нуля индекс первого объекта в списке тегов item .

Реализации

Применяется к