Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a collection of ITestCaseResult objects.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
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
The ITestCaseResultCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
Count | Gets the number of elements contained in the ICollection. (Inherited from ICollection<ITestCaseResult>.) |
![]() |
IsReadOnly | Gets a value indicating whether the ICollection is read-only. (Inherited from ICollection<ITestCaseResult>.) |
![]() |
Item | Gets or sets the element at the specified index. (Inherited from IList<ITestCaseResult>.) |
![]() |
SyncRoot | Gets an object that can be used to synchronize access to the collection. (Inherited from ITestObjectCollection<TObjectInterface>.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Add | Adds an item to the ICollection. (Inherited from ICollection<ITestCaseResult>.) |
![]() |
Clear | Removes all items from the ICollection. (Inherited from ICollection<ITestCaseResult>.) |
![]() |
Contains | Determines whether the ICollection contains a specific value. (Inherited from ICollection<ITestCaseResult>.) |
![]() |
CopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection<ITestCaseResult>.) |
![]() |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITestCaseResult>.) |
![]() |
IndexOf | Determines the index of a specific item in the IList. (Inherited from IList<ITestCaseResult>.) |
![]() |
Insert | Inserts an item to the IList at the specified index. (Inherited from IList<ITestCaseResult>.) |
![]() |
Move | Moves the item of the collection from one position to another. (Inherited from ITestObjectCollection<TObjectInterface>.) |
![]() |
QueryAssociatedWorkItems | |
![]() |
Remove | Removes the first occurrence of a specific object from the ICollection. (Inherited from ICollection<ITestCaseResult>.) |
![]() |
RemoveAt | Removes the IList item at the specified index. (Inherited from IList<ITestCaseResult>.) |
![]() |
Save | Persists the contents of this collection to the server and can optionally upload the attachments in the background. |
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 when a TCM object returns an internal implementation.
See Also
Reference
Microsoft.TeamFoundation.TestManagement.Client Namespace
.gif)
.gif)
.gif)