Service Package Health State List. Index Of(DeployedServicePackageHealthState) Method
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.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
The item to locate in the collection.
An Int32 which represents the index of the item if found in the collection; otherwise, -1.