다음을 통해 공유


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 형식에서는 다음과 같은 멤버를 노출합니다.

속성

  이름 설명
Public 속성 Count ICollection<T> 에 포함된 요소 수를 가져옵니다. (ICollection<ITestAttachment>에서 상속됨)
Public 속성 IsReadOnly ICollection<T> 이 읽기 전용인지 여부를 나타내는 값을 가져옵니다. (ICollection<ITestAttachment>에서 상속됨)
Public 속성 Item 지정한 인덱스에 있는 요소를 가져오거나 설정합니다.

위쪽

메서드

  이름 설명
Public 메서드 Add ICollection<T> 에 항목을 추가합니다. (ICollection<ITestAttachment>에서 상속됨)
Public 메서드 Clear ICollection<T> 에서 항목을 모두 제거합니다. (ICollection<ITestAttachment>에서 상속됨)
Public 메서드 Contains ICollection<T> 에 특정 값이 들어 있는지 여부를 확인합니다. (ICollection<ITestAttachment>에서 상속됨)
Public 메서드 CopyTo 특정 Array 인덱스부터 시작하여 ICollection<T>의 요소를 Array에 복사합니다. (ICollection<ITestAttachment>에서 상속됨)
Public 메서드 GetEnumerator() 컬렉션을 반복하는 열거자를 반환합니다. (IEnumerable<ITestAttachment>에서 상속됨)
Public 메서드 GetEnumerator() 컬렉션을 반복하는 열거자를 반환합니다. (IEnumerable에서 상속됨)
Public 메서드 Remove ICollection<T> 에서 맨 처음 나타나는 특정 개체를 제거합니다. (ICollection<ITestAttachment>에서 상속됨)
Public 메서드 RemoveAt 지정한 인덱스에서 IAttachmentCollection 항목을 제거합니다.

위쪽

이벤트

  이름 설명
Public 이벤트 CollectionChanged 컬렉션이 변경되면 이 이벤트가 발생합니다. (INotifyCollectionChanged에서 상속됨)

위쪽

참고 항목

참조

Microsoft.TeamFoundation.TestManagement.Client 네임스페이스

ITestCase

ITestStep

ITestRun

ITestResult

ISharedStep