แก้ไข

แชร์ผ่าน


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.

 virtual bool System.Collections.IList.Contains(System::Object ^ control) = System::Collections::IList::Contains;
bool IList.Contains (object control);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
Function Contains (control As Object) As Boolean Implements IList.Contains

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