IAttachmentCollection Interface
Represents a collection of attachments that is associated with test objects, such as test cases, test steps, test runs, test results, and shared steps.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Interface IAttachmentCollection _
Inherits ICollection(Of ITestAttachment), IEnumerable(Of ITestAttachment), _
IEnumerable, INotifyCollectionChanged
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 extends ICollection<ITestAttachment>, IEnumerable<ITestAttachment>, IEnumerable, INotifyCollectionChanged
The IAttachmentCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of elements contained in the ICollection. (Inherited from ICollection<ITestAttachment>.) | |
IsReadOnly | Gets a value indicating whether the ICollection is read-only. (Inherited from ICollection<ITestAttachment>.) | |
Item | Gets or sets the element at the specified index. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds an item to the ICollection. (Inherited from ICollection<ITestAttachment>.) | |
Clear | Removes all items from the ICollection. (Inherited from ICollection<ITestAttachment>.) | |
Contains | Determines whether the ICollection contains a specific value. (Inherited from ICollection<ITestAttachment>.) | |
CopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection<ITestAttachment>.) | |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITestAttachment>.) | |
Remove | Removes the first occurrence of a specific object from the ICollection. (Inherited from ICollection<ITestAttachment>.) | |
RemoveAt | Removes the IAttachmentCollection item at the specified index. |
Top
Events
Name | Description | |
---|---|---|
CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged.) |
Top