LastIndexOf

搜索列表中最后出现的值。

int LastIndexOf(

   T  item     // 搜索值

   );

参数

item

[in]  已搜索的值。

返回值

返回最后找到的元素的索引。如果该值未找到,返回-1。