次の方法で共有


ServiceHealthStateList クラス

定義

インデックスによって個別にアクセスできる の ServiceHealthState コレクションを表します。

public sealed class ServiceHealthStateList : System.Collections.Generic.ICollection<System.Fabric.Health.ServiceHealthState>, System.Collections.Generic.IEnumerable<System.Fabric.Health.ServiceHealthState>, System.Collections.Generic.IList<System.Fabric.Health.ServiceHealthState>
type ServiceHealthStateList = class
    interface IList<ServiceHealthState>
    interface ICollection<ServiceHealthState>
    interface seq<ServiceHealthState>
    interface IEnumerable
Public NotInheritable Class ServiceHealthStateList
Implements ICollection(Of ServiceHealthState), IEnumerable(Of ServiceHealthState), IList(Of ServiceHealthState)
継承
ServiceHealthStateList
実装

プロパティ

Count

要素の数を取得します。

IsReadOnly

リストが読み取り専用かどうかを示す値を取得します。

Item[Int32]

指定したインデックスにある要素を取得または設定します。

メソッド

Add(ServiceHealthState)

項目をコレクションに追加します。

Clear()

コレクションからすべての項目を削除します。

Contains(ServiceHealthState)

コレクションに特定の値が格納されているかどうかを判断します。

CopyTo(ServiceHealthState[], Int32)

特定の配列インデックスを開始位置として、配列に ICollection の要素をコピーします。

GetEnumerator()

コレクションを反復処理する列挙子を返します。

IndexOf(ServiceHealthState)

コレクション内での指定した項目のインデックスを調べます。

Insert(Int32, ServiceHealthState)

指定したインデックス位置に項目を挿入します。

Remove(ServiceHealthState)

最初に検出した特定の項目をコレクションから削除します。

RemoveAt(Int32)

指定したインデックス位置にある項目を削除します。

明示的なインターフェイスの実装

IEnumerable.GetEnumerator()

コレクションを反復処理する列挙子を返します。

拡張メソッド

ToCommaSeparatedString<T>(IEnumerable<T>)

コレクションの要素を文字列に変換し、それらをコンマ区切りのリストに連結するか、null または空のコレクションの場合は null を返します。

適用対象