ReplicaHealthStateList Class
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.
Represents a collection of ReplicaHealthState that can be individually accessed by index.
public sealed class ReplicaHealthStateList : System.Collections.Generic.ICollection<System.Fabric.Health.ReplicaHealthState>, System.Collections.Generic.IEnumerable<System.Fabric.Health.ReplicaHealthState>, System.Collections.Generic.IList<System.Fabric.Health.ReplicaHealthState>
type ReplicaHealthStateList = class
interface IList<ReplicaHealthState>
interface ICollection<ReplicaHealthState>
interface seq<ReplicaHealthState>
interface IEnumerable
Public NotInheritable Class ReplicaHealthStateList
Implements ICollection(Of ReplicaHealthState), IEnumerable(Of ReplicaHealthState), IList(Of ReplicaHealthState)
- Inheritance
-
ReplicaHealthStateList
- Implements
Properties
| Name | Description |
|---|---|
| Count |
Gets the number of elements. |
| IsReadOnly |
Gets a value indicating whether the list is read-only. |
| Item[Int32] |
Gets or sets the element at the specified index. |
Methods
| Name | Description |
|---|---|
| Add(ReplicaHealthState) |
Adds an item to the collection. |
| Clear() |
Removes all items from the collection. |
| Contains(ReplicaHealthState) |
Determines whether the collection contains a specific value. |
| CopyTo(ReplicaHealthState[], Int32) |
Copies the elements of the ICollection to an Array, starting at a particular Array index. |
| GetEnumerator() |
Returns an enumerator that iterates through a collection. |
| IndexOf(ReplicaHealthState) |
Determines the index of a specific item in the collection. |
| Insert(Int32, ReplicaHealthState) |
Inserts an item at the specified index. |
| Remove(ReplicaHealthState) |
Removes the first occurrence of a specific item from the collection. |
| RemoveAt(Int32) |
Removes the item at the specified index. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through a collection. |
Extension Methods
| Name | Description |
|---|---|
| ArrayContainsAll<T>(IEnumerable<T>, Object[]) |
Returns whether all values are present in the array. |
| ArrayContainsAny<T>(IEnumerable<T>, Object[]) |
Returns whether any values are present in the array. |