CompositeCollection.IndexOf(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the index in this collection where the given item is found.
public:
virtual int IndexOf(System::Object ^ indexItem);
public int IndexOf (object indexItem);
abstract member IndexOf : obj -> int
override this.IndexOf : obj -> int
Public Function IndexOf (indexItem As Object) As Integer
Parameters
- indexItem
- Object
The item to retrieve the index for.
Returns
If the item appears in the collection, then the zero-based index in the collection where the given item is found; otherwise, -1
.
Implements
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.