PartitionHealthStateList 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 PartitionHealthState that can be individually accessed by index.
public sealed class PartitionHealthStateList : System.Collections.Generic.ICollection<System.Fabric.Health.PartitionHealthState>, System.Collections.Generic.IEnumerable<System.Fabric.Health.PartitionHealthState>, System.Collections.Generic.IList<System.Fabric.Health.PartitionHealthState>
type PartitionHealthStateList = class
interface IList<PartitionHealthState>
interface ICollection<PartitionHealthState>
interface seq<PartitionHealthState>
interface IEnumerable
Public NotInheritable Class PartitionHealthStateList
Implements ICollection(Of PartitionHealthState), IEnumerable(Of PartitionHealthState), IList(Of PartitionHealthState)
- Inheritance
-
PartitionHealthStateList
- Implements
Properties
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
Add(PartitionHealthState) |
Adds an item to the collection. |
Clear() |
Removes all items from the collection. |
Contains(PartitionHealthState) |
Determines whether the collection contains a specific value. |
CopyTo(PartitionHealthState[], 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(PartitionHealthState) |
Determines the index of a specific item in the collection. |
Insert(Int32, PartitionHealthState) |
Inserts an item at the specified index. |
Remove(PartitionHealthState) |
Removes the first occurrence of a specific item from the collection. |
RemoveAt(Int32) |
Removes the item at the specified index. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through a collection. |
Extension Methods
ToCommaSeparatedString<T>(IEnumerable<T>) |
Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應