Condividi tramite


RepairTaskList.IndexOf(RepairTask) Method

Definition

Determines the index of a specific item in the RepairTaskList.

public int IndexOf (System.Fabric.Repair.RepairTask item);
abstract member IndexOf : System.Fabric.Repair.RepairTask -> int
override this.IndexOf : System.Fabric.Repair.RepairTask -> int
Public Function IndexOf (item As RepairTask) As Integer

Parameters

item
RepairTask

The object to locate in the list.

Returns

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

Implements

Applies to