ITestSuiteEntryCollection Interface
Represents a collection of test suite entries.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Interface ITestSuiteEntryCollection _
Inherits ITestObjectCollection(Of ITestSuiteEntry), IList(Of ITestSuiteEntry), _
ICollection(Of ITestSuiteEntry), IEnumerable(Of ITestSuiteEntry), IEnumerable, _
INotifyCollectionChanged, INotifyPropertyChanged
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 extends ITestObjectCollection<ITestSuiteEntry>, IList<ITestSuiteEntry>, ICollection<ITestSuiteEntry>, IEnumerable<ITestSuiteEntry>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
The ITestSuiteEntryCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of elements contained in the ICollection. (Inherited from ICollection<ITestSuiteEntry>.) | |
IsReadOnly | Gets a value indicating whether the ICollection is read-only. (Inherited from ICollection<ITestSuiteEntry>.) | |
Item | Gets or sets the element at the specified index. (Inherited from IList<ITestSuiteEntry>.) | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. (Inherited from ITestObjectCollection<TObjectInterface>.) |
Top
Methods
Name | Description | |
---|---|---|
Add(ITestCase) | Adds a test case to the collection. | |
Add(ITestSuiteBase) | Adds a test suite to the collection. | |
Add(UTP) | Adds an item to the ICollection. (Inherited from ICollection<ITestSuiteEntry>.) | |
AddCases(IEnumerable<ITestCase>) | Adds a list of test cases to the collection. | |
AddCases(IEnumerable<ITestCase>, Boolean) | Adds a list of test cases and optionally ignores duplicate entries. | |
BulkCopy | Copies a list of test entries to the provided test suite entry collection and optionally ignores duplicate entries. | |
BulkMove(Int32, IEnumerable<ITestSuiteEntry>) | Moves the provided list of test suite entries to a different location in this collection. | |
BulkMove(ITestSuiteEntryCollection, Int32, IEnumerable<ITestSuiteEntry>, Boolean) | Moves the provided list of test suite entries to the specified location in another test suite entry collection. | |
Clear | Removes all items from the ICollection. (Inherited from ICollection<ITestSuiteEntry>.) | |
Contains(ITestObject<Int32>) | Returns a value that indicates whether this collection contains the specified test object. | |
Contains(UTP) | Determines whether the ICollection contains a specific value. (Inherited from ICollection<ITestSuiteEntry>.) | |
CopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection<ITestSuiteEntry>.) | |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITestSuiteEntry>.) | |
IndexOf(ITestObject<Int32>) | Returns the index of the provided object in the collection. | |
IndexOf(UTP) | Determines the index of a specific item in the IList. (Inherited from IList<ITestSuiteEntry>.) | |
Insert(Int32, UTP) | Inserts an item to the IList at the specified index. (Inherited from IList<ITestSuiteEntry>.) | |
Insert(Int32, ITestCase) | Inserts the provided test case into the collection at the specified index. | |
Insert(Int32, ITestSuiteBase) | Inserts the provided test suite into the collection at the specified index. | |
InsertCases(Int32, IEnumerable<ITestCase>) | Inserts the provided list of test cases into the collection at the specified location. | |
InsertCases(Int32, IEnumerable<ITestCase>, Boolean) | Inserts the provided list of test cases into the collection at the specified index, and optionally ignores duplicate entries. | |
Move | Moves the item of the collection from one position to another. (Inherited from ITestObjectCollection<TObjectInterface>.) | |
Remove(ITestCase) | Removes the provided test case from the collection. | |
Remove(ITestSuiteBase) | Removes the provided test suite from the collection. | |
Remove(UTP) | Removes the first occurrence of a specific object from the ICollection. (Inherited from ICollection<ITestSuiteEntry>.) | |
RemoveAt | Removes the IList item at the specified index. (Inherited from IList<ITestSuiteEntry>.) | |
RemoveCases | Removes the provided list of test cases from the collection. | |
RemoveEntries | Removes each entry of a provided list of test suite entries from the collection. |
Top
Events
Name | Description | |
---|---|---|
CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged.) | |
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top
Remarks
This interface supports the object model for Test Case management (TCM) in Visual Studio. This interface is not intended for you to implement in a custom class, but you can use this interface in a custom class if a TCM object returns an internal implementation.
See Also
Reference
Microsoft.TeamFoundation.TestManagement.Client Namespace