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 零起始的索引。

實作

適用於