Represents the collection of Link objects that belongs to a WorkItem.
Inheritance Hierarchy
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)
Syntax
声明
Public NotInheritable Class LinkCollection _
    Inherits VariableSizeList _
    Implements IList, ICollection, IEnumerable
public sealed class LinkCollection : VariableSizeList, 
    IList, ICollection, IEnumerable
public ref class LinkCollection sealed : public VariableSizeList, 
    IList, ICollection, IEnumerable
[<Sealed>]
type LinkCollection =  
    class
        inherit VariableSizeList
        interface IList
        interface ICollection
        interface IEnumerable
    end
public final class LinkCollection extends VariableSizeList implements IList, ICollection, IEnumerable
The LinkCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Count | Gets the number of Link objects in this collection. (Overrides VariableSizeList.Count.) | 
| .gif) | IsFixedSize | Obsolete. (Inherited from VariableSizeList.) | 
| .gif) | IsReadOnly | Obsolete. (Inherited from VariableSizeList.) | 
| .gif) | IsSynchronized | Obsolete. (Inherited from VariableSizeList.) | 
| .gif) | Item | Gets the Link at the specified index in this collection. | 
| .gif) | SyncRoot | Obsolete. (Inherited from VariableSizeList.) | 
| .gif) | WorkItem | Gets the WorkItem object that is associated with this LinkCollection instance. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Add(ExternalLink) | Adds the specified ExternalLink object to this collection. | 
| .gif) | Add(Hyperlink) | Adds the specified Hyperlink object to this collection. | 
| .gif) | Add(Link) | Adds the specified Link object to this collection. | 
| .gif) | Add(RelatedLink) | Adds the specified RelatedLink object to this collection. | 
| .gif) | AddItem | (Inherited from VariableSizeList.) | 
| .gif) | Clear | Clears this collection. (Overrides VariableSizeList.Clear().) | 
| .gif) | Contains | Checks whether this collection contains the specified Link object. | 
| .gif) | CopyTo | Obsolete. (Inherited from VariableSizeList.) | 
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetEnumerator | (Inherited from VariableSizeList.) | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetItem | (Inherited from VariableSizeList.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | IndexOf | Gets the index of the specified Link object in this collection. | 
| .gif) | IndexOfItem | (Inherited from VariableSizeList.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | Remove | Removes the specified Link object from this collection. | 
| .gif) | RemoveAt | Removes the object at the specified index in this collection. (Overrides VariableSizeList.RemoveAt(Int32).) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Fields
| Name | Description | |
|---|---|---|
| .gif) | m_version | (Inherited from VariableSizeList.) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IList.Add | (Inherited from VariableSizeList.) | 
| .gif) .gif) | IList.Clear | (Inherited from VariableSizeList.) | 
| .gif) .gif) | IList.Contains | (Inherited from VariableSizeList.) | 
| .gif) .gif) | ICollection.CopyTo | (Inherited from VariableSizeList.) | 
| .gif) .gif) | ICollection.Count | (Inherited from VariableSizeList.) | 
| .gif) .gif) | IList.IndexOf | Gets the index of the specified object in this collection. | 
| .gif) .gif) | IList.Insert | (Inherited from VariableSizeList.) | 
| .gif) .gif) | IList.IsFixedSize | (Inherited from VariableSizeList.) | 
| .gif) .gif) | IList.IsReadOnly | (Inherited from VariableSizeList.) | 
| .gif) .gif) | ICollection.IsSynchronized | (Inherited from VariableSizeList.) | 
| .gif) .gif) | IList.Item | (Inherited from VariableSizeList.) | 
| .gif) .gif) | IList.Remove | (Inherited from VariableSizeList.) | 
| .gif) .gif) | IList.RemoveAt | (Inherited from VariableSizeList.) | 
| .gif) .gif) | ICollection.SyncRoot | (Inherited from VariableSizeList.) | 
| .gif) .gif) | IVersionTag.VersionTag | (Inherited from VariableSizeList.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.