DesignerActionItemCollection::IndexOf Method (DesignerActionItem^)

 

Determines the index of a specific item in the collection.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

public:
int IndexOf(
	DesignerActionItem^ value
)

Parameters

value
Type: System.ComponentModel.Design::DesignerActionItem^

The DesignerActionItem to locate in the collection.

Return Value

Type: System::Int32

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

.NET Framework
Available since 2.0
Return to top
Show: