DesignerActionListCollection::IndexOf Method (DesignerActionList^)

 

Determines the index of a specific item in the collection.

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

public:
int IndexOf(
	DesignerActionList^ value
)

Parameters

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

The DesignerActionList to locate in the collection.

Return Value

Type: System::Int32

The index of value if found in the internal list; otherwise, -1.

Internally, the DesignerActionListCollection class uses a System.Collections::ArrayList to contain its collection of DesignerActionList objects.

NamedPermissionSet

for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state:

.NET Framework
Available since 2.0
Return to top
Show: