BehaviorServiceAdornerCollection.IndexOf(Adorner) Method

Definition

Returns the index of an Adorner in the BehaviorServiceAdornerCollection.

public:
 int IndexOf(System::Windows::Forms::Design::Behavior::Adorner ^ value);
public int IndexOf (System.Windows.Forms.Design.Behavior.Adorner value);
member this.IndexOf : System.Windows.Forms.Design.Behavior.Adorner -> int
Public Function IndexOf (value As Adorner) As Integer

Parameters

value
Adorner

The Adorner to locate.

Returns

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

Applies to

See also