Control.ControlCollection.IList.Contains(Object) Method

Definition

For a description of this member, see Contains(Object).

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
bool IList.Contains(object control);

Parameters

control
Object

The object to locate in the Control.ControlCollection.

Returns

true if the Control.ControlCollection contains an element that has the specified object; otherwise, false.

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

Produkt Versioner
.NET Framework 1.1