System::Collections::IList::IndexOf 方法
IList::IndexOf method
获取指定项目的第一个索引。
virtual int System::Collections::IList::IndexOf(SharedPtr<System::Object> item) const =0
| 参数 | 类型 | 描述 |
|---|---|---|
| 项 | SharedPtr<System::Object> | 要查找的项。 |
ReturnValue
指定项首次出现的索引;如果不存在则为 -1。
另见
- Typedef SharedPtr
- Class Object
- Class IList
- Namespace System::Collections
- Library Aspose.Font for C++