DeployedServicePackageHealthStateList.IndexOf Method

Definition

Determines the index of a specific item in the collection.

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

Parameters

item
DeployedServicePackageHealthState

The item to locate in the collection.

Returns

An Int32 which represents the index of the item if found in the collection; otherwise, -1.

Implements

Applies to