WebPartDescriptionCollection.Contains(WebPartDescription) Method

Definition

Returns a value indicating whether a particular control exists in the collection.

C#
public bool Contains(System.Web.UI.WebControls.WebParts.WebPartDescription value);

Parameters

Returns

A Boolean value that indicates whether a particular WebPartDescription exists in a WebPartDescriptionCollection.

Remarks

The Contains method enables you to determine whether a particular WebPartDescription object is part of a WebPartDescriptionCollection collection.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also