System.Web.UI.WebControls.WebParts.WebPartVerbCollection.Contains Method

Searches the Web Parts verb collection for the specified System.Web.UI.WebControls.WebParts.WebPartVerb object.

Syntax

public bool Contains (WebPartVerb value)

Parameters

value
The System.Web.UI.WebControls.WebParts.WebPartVerb to be found.

Returns

true if the collection contains the Web Parts verb; otherwise, false.

Remarks

For more information on using this method, see its base method, CollectionBase.System#Collections#IList#Contains(object).

Requirements

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0