ITestSuiteEntryCollection 接口

 

表示测试套件项的集合。

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

语法

public interface ITestSuiteEntryCollection : ITestObjectCollection<ITestSuiteEntry>, 
    IList<ITestSuiteEntry>, ICollection<ITestSuiteEntry>, IEnumerable<ITestSuiteEntry>, 
    IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
public interface class ITestSuiteEntryCollection : ITestObjectCollection<ITestSuiteEntry^>, 
    IList<ITestSuiteEntry^>, ICollection<ITestSuiteEntry^>, IEnumerable<ITestSuiteEntry^>, 
    IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
type ITestSuiteEntryCollection = 
    interface
        interface ITestObjectCollection<ITestSuiteEntry>
        interface IList<ITestSuiteEntry>
        interface ICollection<ITestSuiteEntry>
        interface IEnumerable<ITestSuiteEntry>
        interface IEnumerable
        interface INotifyCollectionChanged
        interface INotifyPropertyChanged
    end
Public Interface ITestSuiteEntryCollection
    Inherits ITestObjectCollection(Of ITestSuiteEntry), IList(Of ITestSuiteEntry),
    ICollection(Of ITestSuiteEntry), IEnumerable(Of ITestSuiteEntry),
    IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

属性

名称 说明
System_CAPS_pubproperty Count

(从 ICollection<T> 继承。)

System_CAPS_pubproperty IsReadOnly

(从 ICollection<T> 继承。)

System_CAPS_pubproperty Item[Int32]

(从 IList<T> 继承。)

System_CAPS_pubproperty SyncRoot

此 API 支持 产品 基础结构,不能在代码中直接使用。 获取可用于同步对集合的访问的对象。(从 ITestObjectCollection<TObjectInterface> 继承。)

方法

名称 说明
System_CAPS_pubmethod Add(T)

(从 ICollection<T> 继承。)

System_CAPS_pubmethod Add(ITestCase)

向集合中添加测试用例。

System_CAPS_pubmethod Add(ITestSuiteBase)

向集合中添加测试套件。

System_CAPS_pubmethod AddCases(IEnumerable<ITestCase>)

向集合中添加测试用例的列表。

System_CAPS_pubmethod AddCases(IEnumerable<ITestCase>, Boolean)

添加测试用例列表,且可以选择忽略重复项。

System_CAPS_pubmethod BulkCopy(ITestSuiteEntryCollection, Int32, IEnumerable<ITestSuiteEntry>, Boolean)

将测试项列表复制到提供的测试套件项集合,且可以选择忽略重复项。

System_CAPS_pubmethod BulkMove(Int32, IEnumerable<ITestSuiteEntry>)

将提供的测试套件项列表移动到此集合中的另一个位置。

System_CAPS_pubmethod BulkMove(ITestSuiteEntryCollection, Int32, IEnumerable<ITestSuiteEntry>, Boolean)

将提供的测试套件项列表移动到另一个测试套件项集合中的指定位置。

System_CAPS_pubmethod Clear()

(从 ICollection<T> 继承。)

System_CAPS_pubmethod Contains(T)

(从 ICollection<T> 继承。)

System_CAPS_pubmethod Contains(ITestObject<Int32>)

返回一个值,该值指示此集合是否包含指定的测试对象。

System_CAPS_pubmethod CopyTo(T[], Int32)

(从 ICollection<T> 继承。)

System_CAPS_pubmethod GetEnumerator()

(从 IEnumerable<T> 继承。)

System_CAPS_pubmethod IndexOf(T)

(从 IList<T> 继承。)

System_CAPS_pubmethod IndexOf(ITestObject<Int32>)

返回该集合中提供对象的索引。

System_CAPS_pubmethod Insert(Int32, T)

(从 IList<T> 继承。)

System_CAPS_pubmethod Insert(Int32, ITestCase)

将提供的测试用例插入到集合中的指定索引处。

System_CAPS_pubmethod Insert(Int32, ITestSuiteBase)

将提供的测试套件插入到集合中的指定索引处。

System_CAPS_pubmethod InsertCases(Int32, IEnumerable<ITestCase>)

将提供的测试用例列表插入到集合中的指定位置。

System_CAPS_pubmethod InsertCases(Int32, IEnumerable<ITestCase>, Boolean)

将提供的测试用例列表插入到集合中的指定索引处,且可以选择忽略重复项。

System_CAPS_pubmethod Move(Int32, Int32)

此 API 支持 产品 基础结构,不能在代码中直接使用。 将集合的项从一个位置移到另一个位置。(从 ITestObjectCollection<TObjectInterface> 继承。)

System_CAPS_pubmethod Remove(T)

(从 ICollection<T> 继承。)

System_CAPS_pubmethod Remove(ITestCase)

从集合中移除提供的测试用例。

System_CAPS_pubmethod Remove(ITestSuiteBase)

从集合中移除提供的测试套件。

System_CAPS_pubmethod RemoveAt(Int32)

(从 IList<T> 继承。)

System_CAPS_pubmethod RemoveCases(IEnumerable<ITestCase>)

从集合中移除提供的测试用例列表。

System_CAPS_pubmethod RemoveEntries(IEnumerable<ITestSuiteEntry>)

从集合中移除提供的测试套件项列表的每个项。

事件

名称 说明
System_CAPS_pubevent CollectionChanged

(从 INotifyCollectionChanged 继承。)

System_CAPS_pubevent PropertyChanged

(从 INotifyPropertyChanged 继承。)

备注

在 Visual Studio 中,此接口支持测试用例管理 (TCM) 对象模型。此接口预期并不用于您实现自定义类,但您可以在 TCM 对象返回内部实现时将此接口用于自定义类中。

请参阅

ITestObjectCollection<TObjectInterface>
ITestSuiteEntry
INotifyCollectionChanged
INotifyPropertyChanged
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首