Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebPartVerbCollection.Contains Method

Searches the Web Parts verb collection for the specified WebPartVerb object.

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

public bool Contains(
	WebPartVerb value


Type: System.Web.UI.WebControls.WebParts.WebPartVerb

The WebPartVerb to be found.

Return Value

Type: System.Boolean
true if the collection contains the Web Parts verb; otherwise, false.

For more information on using this method, see its base method, CollectionBase.IList.Contains.

.NET Framework

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