次の方法で共有


IAttachmentCollection インターフェイス

テスト ケース、テスト ステップ、テストの実行、テスト結果、共有ステップなどのテスト オブジェクトと関連付けられた添付ファイルのコレクションを表します。

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

構文

'宣言
Public Interface IAttachmentCollection _
    Inherits ICollection(Of ITestAttachment), IEnumerable(Of ITestAttachment),  _
    IEnumerable, INotifyCollectionChanged
public interface IAttachmentCollection : ICollection<ITestAttachment>, 
    IEnumerable<ITestAttachment>, IEnumerable, INotifyCollectionChanged
public interface class IAttachmentCollection : ICollection<ITestAttachment^>, 
    IEnumerable<ITestAttachment^>, IEnumerable, INotifyCollectionChanged
type IAttachmentCollection =  
    interface
        interface ICollection<ITestAttachment>
        interface IEnumerable<ITestAttachment>
        interface IEnumerable
        interface INotifyCollectionChanged
    end
public interface IAttachmentCollection extends ICollection<ITestAttachment>, IEnumerable<ITestAttachment>, IEnumerable, INotifyCollectionChanged

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

プロパティ

  名前 説明
パブリック プロパティ Count ICollection<T> に格納されている要素の数を取得します。 (ICollection<ITestAttachment> から継承されます。)
パブリック プロパティ IsReadOnly ICollection<T> が読み取り専用であるかどうかを示す値を取得します。 (ICollection<ITestAttachment> から継承されます。)
パブリック プロパティ Item 指定したインデックスにある要素を取得または設定します。

このページのトップへ

メソッド

  名前 説明
パブリック メソッド Add ICollection<T> に項目を追加します。 (ICollection<ITestAttachment> から継承されます。)
パブリック メソッド Clear ICollection<T> からすべての項目を削除します。 (ICollection<ITestAttachment> から継承されます。)
パブリック メソッド Contains ICollection<T> に特定の値が格納されているかどうかを判断します。 (ICollection<ITestAttachment> から継承されます。)
パブリック メソッド CopyTo ICollection<T> の要素を Array にコピーします。Array の特定のインデックスからコピーが開始されます。 (ICollection<ITestAttachment> から継承されます。)
パブリック メソッド GetEnumerator() コレクションを反復処理する列挙子を返します。 (IEnumerable<ITestAttachment> から継承されます。)
パブリック メソッド GetEnumerator() コレクションを反復処理する列挙子を返します。 (IEnumerable から継承されます。)
パブリック メソッド Remove ICollection<T> 内で最初に見つかった特定のオブジェクトを削除します。 (ICollection<ITestAttachment> から継承されます。)
パブリック メソッド RemoveAt 指定したインデックス位置にある IAttachmentCollection 項目を削除します。

このページのトップへ

イベント

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

このページのトップへ

参照

参照

Microsoft.TeamFoundation.TestManagement.Client 名前空間

ITestCase

ITestStep

ITestRun

ITestResult

ISharedStep