Sdílet prostřednictvím


WorkItemLinkCollection Class

Represents a collection of WorkItemLinks.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Common.VariableSizeList
    Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLinkCollection

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

Syntax

'Declaration
Public Class WorkItemLinkCollection _
    Inherits VariableSizeList _
    Implements IList, ICollection, IEnumerable
public class WorkItemLinkCollection : VariableSizeList, 
    IList, ICollection, IEnumerable
public ref class WorkItemLinkCollection : public VariableSizeList, 
    IList, ICollection, IEnumerable
type WorkItemLinkCollection =  
    class 
        inherit VariableSizeList 
        interface IList 
        interface ICollection 
        interface IEnumerable 
    end
public class WorkItemLinkCollection extends VariableSizeList implements IList, ICollection, IEnumerable

The WorkItemLinkCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements in this collection. (Overrides VariableSizeList.Count.)
Public property IsFixedSize Obsolete. (Inherited from VariableSizeList.)
Public property IsReadOnly Obsolete. (Inherited from VariableSizeList.)
Public property IsSynchronized Obsolete. (Inherited from VariableSizeList.)
Public property Item Gets the WorkItemLink at the specified index in this collection.
Public property SyncRoot Obsolete. (Inherited from VariableSizeList.)

Top

Methods

  Name Description
Public method Add Adds the specified WorkItemLink to this collection.
Protected method AddItem Adds the specified object to this collection. (Overrides VariableSizeList.AddItem(Object).)
Public method Clear Clears this collection. (Overrides VariableSizeList.Clear().)
Public method Contains Checks whether the specified WorkItemLink occurs in this collection.
Public method CopyTo Obsolete. (Inherited from VariableSizeList.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator (Inherited from VariableSizeList.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetItem Gets the object in this collection at the specified index. (Overrides VariableSizeList.GetItem(Int32).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Gets the index in this collection of the specified WorkItemLink.
Protected method IndexOfItem (Inherited from VariableSizeList.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes the specified WorkItemLink from this collection.
Public method RemoveAt Removes the element in this collection at the specified index. (Overrides VariableSizeList.RemoveAt(Int32).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_version (Inherited from VariableSizeList.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate method IList.Clear (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate method IList.Contains (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate property ICollection.Count (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate method IList.IndexOf Gets the index in this collection of the specified object.
Explicit interface implemetationPrivate method IList.Insert (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate property IList.IsFixedSize (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate property IList.IsReadOnly (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate property IList.Item (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate method IList.Remove (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate method IList.RemoveAt (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from VariableSizeList.)
Explicit interface implemetationPrivate property 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.

See Also

Reference

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace