This documentation is archived and is not being maintained.

LinkCollection Class

Represents the collection of Link objects that belongs to a WorkItem.

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

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

public ref class LinkCollection sealed : public VariableSizeList, 
	IList, ICollection, IEnumerable

The LinkCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of Link 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 Link at the specified index in this collection.
Public propertySyncRoot Obsolete. (Inherited from VariableSizeList.)
Public propertyWorkItemGets the WorkItem object that is associated with this LinkCollection instance.
Top

  NameDescription
Public methodAdd(ExternalLink)Adds the specified ExternalLink object to this collection.
Public methodAdd(Hyperlink)Adds the specified Hyperlink object to this collection.
Public methodAdd(Link)Adds the specified Link object to this collection.
Public methodAdd(RelatedLink)Adds the specified RelatedLink object to this collection.
Public methodClearClears this collection. (Overrides VariableSizeList::Clear().)
Public methodContainsChecks whether this collection contains the specified Link object.
Public methodCopyTo Obsolete. (Inherited from VariableSizeList.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetEnumerator (Inherited from VariableSizeList.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIndexOfGets the index of the specified Link object in this collection.
Public methodRemoveRemoves the specified Link object from this collection.
Public methodRemoveAtRemoves the object at the specified index in this collection. (Overrides VariableSizeList::RemoveAt(Int32).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
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: