Control.ControlCollection.IList.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.
For a description of this member, see IndexOf(Object).
This API supports the product infrastructure and is not intended to be used directly from your code.
virtual int System.Collections.IList.IndexOf(System::Object ^ control) = System::Collections::IList::IndexOf;
int IList.IndexOf (object control);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (control As Object) As Integer Implements IList.IndexOf
Parameters
- control
- Object
The object to locate in the Control.ControlCollection.
Returns
The index of control
if found in the Control.ControlCollection; otherwise, -1.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the Control.ControlCollection instance is cast to an IList interface.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor