BehaviorServiceAdornerCollection.IndexOf Method (Adorner)

 

Returns the index of an Adorner in the BehaviorServiceAdornerCollection.

Namespace:   System.Windows.Forms.Design.Behavior
Assembly:  System.Design (in System.Design.dll)

public int IndexOf(
	Adorner value
)

Parameters

value
Type: System.Windows.Forms.Design.Behavior.Adorner

The Adorner to locate.

Return Value

Type: System.Int32

The index of the Adorner of value in the BehaviorServiceAdornerCollection, if found; otherwise, -1.

.NET Framework
Available since 2.0
Return to top
Show: