This documentation is archived and is not being maintained.

AttachmentCollection Class

Stores the attachments that are associated with a work item.

System::Object
  Microsoft.TeamFoundation.WorkItemTracking.Common::VariableSizeList
    Microsoft.TeamFoundation.WorkItemTracking.Client::AttachmentCollection

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

public ref class AttachmentCollection : public VariableSizeList, 
	IList, ICollection, IEnumerable

The AttachmentCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of objects in this collection. (Overrides VariableSizeList::Count.)
Public propertyIsFixedSize Obsolete. (Inherited from VariableSizeList.)
Public propertyIsReadOnly Obsolete. (Inherited from VariableSizeList.)
Public propertyIsSynchronized Obsolete. (Inherited from VariableSizeList.)
Public propertyItemGets the object at the specified index in this collection.
Public propertySyncRoot Obsolete. (Inherited from VariableSizeList.)
Top

  NameDescription
Public methodAddAdds the specified attachment to this collection.
Protected methodAddItemAdds the specified object to this collection. (Overrides VariableSizeList::AddItem(Object).)
Public methodClearClears this collection. (Overrides VariableSizeList::Clear().)
Public methodContainsChecks whether the specified attachment is located in this collection.
Public methodCopyTo Obsolete. (Inherited from VariableSizeList.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetEnumerator (Inherited from VariableSizeList.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Protected methodGetItemGets the object at the specified index in this collection. (Overrides VariableSizeList::GetItem(Int32).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIndexOfGets the index of the specified attachment.
Protected methodIndexOfItem (Inherited from VariableSizeList.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveRemoves the specified attachment from this collection.
Public methodRemoveAtRemoves the attachment at the specified index from this collection. (Overrides VariableSizeList::RemoveAt(Int32).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Protected fieldm_version (Inherited from VariableSizeList.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIList::Add (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate methodIList::Clear (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate methodIList::Contains (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate methodICollection::CopyTo (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate propertyICollection::Count (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate methodIList::IndexOfGets the index of the specified object in this collection.
Explicit interface implemetationPrivate methodIList::Insert (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate propertyIList::IsFixedSize (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate propertyIList::IsReadOnly (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate propertyICollection::IsSynchronized (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate propertyIList::Item (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate methodIList::Remove (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate methodIList::RemoveAt (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate propertyICollection::SyncRoot (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate propertyIVersionTag::VersionTag (Inherited from VariableSizeList.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: