Επεξεργασία

Κοινή χρήση μέσω


DesignerActionItemCollection.IndexOf(DesignerActionItem) Method

Definition

Determines the index of a specific item in the collection.

public:
 int IndexOf(System::ComponentModel::Design::DesignerActionItem ^ value);
public int IndexOf (System.ComponentModel.Design.DesignerActionItem value);
member this.IndexOf : System.ComponentModel.Design.DesignerActionItem -> int
Public Function IndexOf (value As DesignerActionItem) As Integer

Parameters

value
DesignerActionItem

The DesignerActionItem to locate in the collection.

Returns

The zero-based index of the first occurrence of value within the entire DesignerActionItemCollection, if found; otherwise, -1.

Applies to