ServiceHealthStateList.IndexOf(ServiceHealthState) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the index of a specific item in the collection.
public int IndexOf(System.Fabric.Health.ServiceHealthState item);
abstract member IndexOf : System.Fabric.Health.ServiceHealthState -> int
override this.IndexOf : System.Fabric.Health.ServiceHealthState -> int
Public Function IndexOf (item As ServiceHealthState) As Integer
Parameters
- item
- ServiceHealthState
The item to locate in the collection.
Returns
The index of the item if found in the collection; -1 otherwise.