IAttachmentCollection 接口

 

表示与测试对象(例如测试用例、测试步骤、测试运行、测试结果和共享步骤)关联的附件的集合。

命名空间:   Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

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
    Inherits ICollection(Of ITestAttachment), IEnumerable(Of ITestAttachment),
    IEnumerable, INotifyCollectionChanged

属性

名称 说明
System_CAPS_pubproperty Count

(从 ICollection<T> 继承。)

System_CAPS_pubproperty IsReadOnly

(从 ICollection<T> 继承。)

System_CAPS_pubproperty Item[Int32]

获取或设置位于指定索引处的元素。

方法

名称 说明
System_CAPS_pubmethod Add(T)

(从 ICollection<T> 继承。)

System_CAPS_pubmethod Clear()

(从 ICollection<T> 继承。)

System_CAPS_pubmethod Contains(T)

(从 ICollection<T> 继承。)

System_CAPS_pubmethod CopyTo(T[], Int32)

(从 ICollection<T> 继承。)

System_CAPS_pubmethod GetEnumerator()

(从 IEnumerable<T> 继承。)

System_CAPS_pubmethod Remove(T)

(从 ICollection<T> 继承。)

System_CAPS_pubmethod RemoveAt(Int32)

移除指定索引处的 IAttachmentCollection 项。

事件

名称 说明
System_CAPS_pubevent CollectionChanged

(从 INotifyCollectionChanged 继承。)

请参阅

ITestCase
ITestStep
ITestRun
ITestResult
ISharedStep
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首