表示与测试对象(例如测试用例、测试步骤、测试运行、测试结果和共享步骤)关联的附件的集合。
命名空间: 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
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
Count | (从 ICollection<T> 继承。) |
![]() |
IsReadOnly | (从 ICollection<T> 继承。) |
![]() |
Item[Int32] | 获取或设置位于指定索引处的元素。 |
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Add(T) | (从 ICollection<T> 继承。) |
![]() |
Clear() | (从 ICollection<T> 继承。) |
![]() |
Contains(T) | (从 ICollection<T> 继承。) |
![]() |
CopyTo(T[], Int32) | (从 ICollection<T> 继承。) |
![]() |
GetEnumerator() | (从 IEnumerable<T> 继承。) |
![]() |
Remove(T) | (从 ICollection<T> 继承。) |
![]() |
RemoveAt(Int32) | 移除指定索引处的 IAttachmentCollection 项。 |
事件
| 名称 | 说明 | |
|---|---|---|
![]() |
CollectionChanged | (从 INotifyCollectionChanged 继承。) |
请参阅
ITestCase
ITestStep
ITestRun
ITestResult
ISharedStep
Microsoft.TeamFoundation.TestManagement.Client 命名空间
返回页首
.jpeg)
.gif)
.gif)