다음을 통해 공유


ApplicationHealthStateList.IndexOf(ApplicationHealthState) Method

Definition

Determines the index of a specific item in the collection.

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

Parameters

item
ApplicationHealthState

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