DesignerActionItemCollection.IndexOf Method (DesignerActionItem)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: