Control.ControlCollection.IList.IndexOf(Object) Method

Definition

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.

C#
int IList.IndexOf(object control);

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

Продукт Версії
.NET Framework 1.1