WebPartVerbCollection.IndexOf Method (WebPartVerb)

 

Searches for the specified Web Parts verb and returns the zero-based index of the first occurrence within the entire collection.

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

public int IndexOf(
	WebPartVerb value
)

Parameters

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

The WebPartVerb to be located.

Return Value

Type: System.Int32

The index of the Web Parts verb.

For more information on using this method, see CollectionBase.IList.IndexOf.

.NET Framework
Available since 2.0
Return to top
Show: