DeployedServicePackageHealthStateList.IndexOf(DeployedServicePackageHealthState) 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

Int32

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

Implements

Applies to