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
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.