Export (0) Print
Expand All

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)

public interface IAttachmentCollection : ICollection<ITestAttachment>, 
	IEnumerable<ITestAttachment>, IEnumerable, INotifyCollectionChanged

The IAttachmentCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of elements contained in the ICollection<T>. (Inherited from ICollection<ITestAttachment>.)
Public propertyIsReadOnlyGets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<ITestAttachment>.)
Public propertyItemGets or sets the element at the specified index.
Top

  NameDescription
Public methodAddAdds an item to the ICollection<T>. (Inherited from ICollection<ITestAttachment>.)
Public methodClearRemoves all items from the ICollection<T>. (Inherited from ICollection<ITestAttachment>.)
Public methodContainsDetermines whether the ICollection<T> contains a specific value. (Inherited from ICollection<ITestAttachment>.)
Public methodCopyToCopies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<ITestAttachment>.)
Public methodGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITestAttachment>.)
Public methodRemoveRemoves the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<ITestAttachment>.)
Public methodRemoveAtRemoves the IAttachmentCollection item at the specified index.
Top

  NameDescription
Public eventCollectionChangedOccurs when the collection changes. (Inherited from INotifyCollectionChanged.)
Top
Show:
© 2014 Microsoft