System::Collections::IListImplValueType::IndexOf 方法
IListImplValueType::IndexOf method
获取项在容器中首次出现的索引。
virtual int System::Collections::IListImplValueType<T>::IndexOf(System::SharedPtr<System::Object> value) const override
| Parameter | Type | 描述 |
|---|---|---|
| value | System::SharedPtr<System::Object> | 要查找的项。 |
ReturnValue
项在容器中首次出现的索引,若未找到则为 -1。
另见
- Typedef SharedPtr
- Class Object
- Class IListImplValueType
- Namespace System::Collections
- Library Aspose.Page for C++