次の方法で共有


ITestPlanCollection インターフェイス

この API は、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

テスト計画のコレクションを表します。

名前空間:  Microsoft.TeamFoundation.TestManagement.Client
アセンブリ:  Microsoft.TeamFoundation.TestManagement.Client (Microsoft.TeamFoundation.TestManagement.Client.dll 内)

構文

'宣言
Public Interface ITestPlanCollection _
    Inherits ITestObjectCollection(Of ITestPlan), IList(Of ITestPlan),  _
    ICollection(Of ITestPlan), IEnumerable(Of ITestPlan), IEnumerable,  _
    INotifyCollectionChanged, INotifyPropertyChanged
public interface ITestPlanCollection : ITestObjectCollection<ITestPlan>, 
    IList<ITestPlan>, ICollection<ITestPlan>, IEnumerable<ITestPlan>, 
    IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
public interface class ITestPlanCollection : ITestObjectCollection<ITestPlan^>, 
    IList<ITestPlan^>, ICollection<ITestPlan^>, IEnumerable<ITestPlan^>, 
    IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
type ITestPlanCollection =  
    interface
        interface ITestObjectCollection<ITestPlan>
        interface IList<ITestPlan>
        interface ICollection<ITestPlan>
        interface IEnumerable<ITestPlan>
        interface IEnumerable
        interface INotifyCollectionChanged
        interface INotifyPropertyChanged
    end
public interface ITestPlanCollection extends ITestObjectCollection<ITestPlan>, IList<ITestPlan>, ICollection<ITestPlan>, IEnumerable<ITestPlan>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

ITestPlanCollection 型で公開されるメンバーは以下のとおりです。

プロパティ

  名前 説明
パブリック プロパティ Count ICollection<T> に格納されている要素の数を取得します。 (ICollection<ITestPlan> から継承されます。)
パブリック プロパティ IsReadOnly ICollection<T> が読み取り専用であるかどうかを示す値を取得します。 (ICollection<ITestPlan> から継承されます。)
パブリック プロパティ Item 指定したインデックスにある要素を取得または設定します。 (IList<ITestPlan> から継承されます。)
パブリック プロパティ QueryText テスト計画階層を読み込むために使用する既定のクエリを取得または設定します。これには、テストの実行とテスト ポイントが含まれます。
パブリック プロパティ SyncRoot コレクションへのアクセスを同期するために使用できるオブジェクトを取得します。 (ITestObjectCollection<TObjectInterface> から継承されます。)

このページのトップへ

メソッド

  名前 説明
パブリック メソッド Add ICollection<T> に項目を追加します。 (ICollection<ITestPlan> から継承されます。)
パブリック メソッド Clear ICollection<T> からすべての項目を削除します。 (ICollection<ITestPlan> から継承されます。)
パブリック メソッド Contains ICollection<T> に特定の値が格納されているかどうかを判断します。 (ICollection<ITestPlan> から継承されます。)
パブリック メソッド CopyTo ICollection<T> の要素を Array にコピーします。Array の特定のインデックスからコピーが開始されます。 (ICollection<ITestPlan> から継承されます。)
パブリック メソッド GetEnumerator() コレクションを反復処理する列挙子を返します。 (IEnumerable<ITestPlan> から継承されます。)
パブリック メソッド GetEnumerator() コレクションを反復処理する列挙子を返します。 (IEnumerable から継承されます。)
パブリック メソッド IndexOf IList<T> 内での指定した項目のインデックスを調べます。 (IList<ITestPlan> から継承されます。)
パブリック メソッド Insert IList<T> の指定したインデックス位置に項目を挿入します。 (IList<ITestPlan> から継承されます。)
パブリック メソッド Move コレクションの項目の位置を移動します。 (ITestObjectCollection<TObjectInterface> から継承されます。)
パブリック メソッド Refresh このコレクション内のすべての計画のデータをサーバーからの最新の情報で更新します。
パブリック メソッド RefreshStatistics このコレクションに含まれるすべての計画、テストの実行、およびテスト計画に関する統計情報を更新します。
パブリック メソッド Remove ICollection<T> 内で最初に見つかった特定のオブジェクトを削除します。 (ICollection<ITestPlan> から継承されます。)
パブリック メソッド RemoveAt 指定したインデックス位置の IList<T> 項目を削除します。 (IList<ITestPlan> から継承されます。)

このページのトップへ

イベント

  名前 説明
パブリック イベント CollectionChanged コレクションが変更された場合に発生します。 (INotifyCollectionChanged から継承されます。)
パブリック イベント PropertyChanged プロパティ値が変更されたときに発生します。 (INotifyPropertyChanged から継承されます。)

このページのトップへ

解説

テスト計画は追加することも削除することもできますが、計画を削除すると、そのテストの実行とテスト ポイントもすべて削除されます。

参照

参照

Microsoft.TeamFoundation.TestManagement.Client 名前空間

ITestObjectCollection<TObjectInterface>

ITestPlan

ITestPoint

ITestRun

INotifyCollectionChanged

INotifyPropertyChanged