System::Collections::Generic::IKVCollection::IndexOf 方法

IKVCollection::IndexOf method

获取容器中项目的索引。

virtual int System::Collections::Generic::IKVCollection<T>::IndexOf(const T &item) const override
ParameterType描述
itemconst T&要查找的项。

ReturnValue

容器中项目的索引。

另见