Export (0) Print
Expand All

ControlCollection::Contains Method

Determines whether the specified server control is in the parent server control's ControlCollection object.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public:
virtual bool Contains(
	Control^ c
)

Parameters

c
Type: System.Web.UI::Control

The server control to search for in the collection.

Return Value

Type: System::Boolean
true if the specified server control exists in the collection; otherwise, false.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft