TestCaseResults 的集合
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Public Interface ITestCaseResultCollection _
Inherits ITestObjectCollection(Of ITestCaseResult), IList(Of ITestCaseResult), _
ICollection(Of ITestCaseResult), IEnumerable(Of ITestCaseResult), IEnumerable, _
INotifyCollectionChanged, INotifyPropertyChanged
public interface ITestCaseResultCollection : ITestObjectCollection<ITestCaseResult>,
IList<ITestCaseResult>, ICollection<ITestCaseResult>, IEnumerable<ITestCaseResult>,
IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
public interface class ITestCaseResultCollection : ITestObjectCollection<ITestCaseResult^>,
IList<ITestCaseResult^>, ICollection<ITestCaseResult^>, IEnumerable<ITestCaseResult^>,
IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
type ITestCaseResultCollection =
interface
interface ITestObjectCollection<ITestCaseResult>
interface IList<ITestCaseResult>
interface ICollection<ITestCaseResult>
interface IEnumerable<ITestCaseResult>
interface IEnumerable
interface INotifyCollectionChanged
interface INotifyPropertyChanged
end
public interface ITestCaseResultCollection extends ITestObjectCollection<ITestCaseResult>, IList<ITestCaseResult>, ICollection<ITestCaseResult>, IEnumerable<ITestCaseResult>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
ITestCaseResultCollection 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Count | 获取 ICollection 中包含的元素数。 (继承自 ICollection<ITestCaseResult>。) |
![]() |
IsReadOnly | 获取一个值,该值指示 ICollection 是否为只读。 (继承自 ICollection<ITestCaseResult>。) |
![]() |
Item | 获取或设置位于指定索引处的元素。 (继承自 IList<ITestCaseResult>。) |
![]() |
SyncRoot | 获取可用于同步对集合的访问的对象。 (继承自 ITestObjectCollection<TObjectInterface>。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Add | 将某项添加到 ICollection 中。 (继承自 ICollection<ITestCaseResult>。) |
![]() |
Clear | 从 ICollection 中移除所有项。 (继承自 ICollection<ITestCaseResult>。) |
![]() |
Contains | 确定 ICollection 是否包含特定值。 (继承自 ICollection<ITestCaseResult>。) |
![]() |
CopyTo | 从特定的 Array 索引开始,将 ICollection 的元素复制到一个 Array 中。 (继承自 ICollection<ITestCaseResult>。) |
![]() |
GetEnumerator | 返回一个循环访问集合的枚举器。 (继承自 IEnumerable<ITestCaseResult>。) |
![]() |
IndexOf | 确定 IList 中特定项的索引。 (继承自 IList<ITestCaseResult>。) |
![]() |
Insert | 将一个项插入指定索引处的 IList。 (继承自 IList<ITestCaseResult>。) |
![]() |
Move | 将集合的项从一个位置移到另一个位置。 (继承自 ITestObjectCollection<TObjectInterface>。) |
![]() |
QueryAssociatedWorkItems | 查询任何工作项的 ID 与所有测试集合中的用例结果 |
![]() |
Remove | 从 ICollection 中移除特定对象的第一个匹配项。 (继承自 ICollection<ITestCaseResult>。) |
![]() |
RemoveAt | 移除指定索引处的 IList 项。 (继承自 IList<ITestCaseResult>。) |
![]() |
Save |
页首
事件
名称 | 说明 | |
---|---|---|
![]() |
CollectionChanged | 当集合更改时发生。 (继承自 INotifyCollectionChanged。) |
![]() |
PropertyChanged | 在属性值更改时发生。 (继承自 INotifyPropertyChanged。) |
页首
备注
这里不会更新任何内容;请不要在这里添加材料。