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

IKVCollection::IndexOf method

获取容器中项的索引。

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

ReturnValue

容器中项目的索引。

另见