Edit

Share via


WebPartVerbCollection.IndexOf(WebPartVerb) Method

Definition

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

public:
 int IndexOf(System::Web::UI::WebControls::WebParts::WebPartVerb ^ value);
public int IndexOf (System.Web.UI.WebControls.WebParts.WebPartVerb value);
member this.IndexOf : System.Web.UI.WebControls.WebParts.WebPartVerb -> int
Public Function IndexOf (value As WebPartVerb) As Integer

Parameters

value
WebPartVerb

The WebPartVerb to be located.

Returns

The index of the Web Parts verb.

Remarks

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

Applies to