Share via


WorkItemLinkTypeEndCollection Class

Represents a collection of WorkItemLinkTypeEnd objects.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLinkTypeEndCollection

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

Syntax

'Declaration
Public Class WorkItemLinkTypeEndCollection _
    Implements IEnumerable(Of WorkItemLinkTypeEnd), IEnumerable
public class WorkItemLinkTypeEndCollection : IEnumerable<WorkItemLinkTypeEnd>, 
    IEnumerable
public ref class WorkItemLinkTypeEndCollection : IEnumerable<WorkItemLinkTypeEnd^>, 
    IEnumerable
type WorkItemLinkTypeEndCollection =  
    class 
        interface IEnumerable<WorkItemLinkTypeEnd>
        interface IEnumerable 
    end
public class WorkItemLinkTypeEndCollection implements IEnumerable<WorkItemLinkTypeEnd>, IEnumerable

The WorkItemLinkTypeEndCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of WorkItemLinkTypeEnd objects in this collection.
Public property Item Gets the WorkItemLinkTypeEnd in this collection that has the specified name or immutable name.

Top

Methods

  Name Description
Public method Contains(Int32) Checks whether a WorkItemLinkTypeEnd that has the specified ID occurs in this collection.
Public method Contains(String) Checks whether a WorkItemLinkTypeEnd that has the specified name or immutable name occurs in this collection.
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 GetById Gets the WorkItemLinkTypeEnd in this collection that has the specified ID.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetById Attempts to get a WorkItemLinkTypeEnd in this collection that has the specified ID. Passes out the WorkItemLinkTypeEnd.
Public method TryGetByName Attempts to get a WorkItemLinkTypeEnd in this collection that has the specified name or immutable name. Passes out the WorkItemLinkTypeEnd.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable<WorkItemLinkTypeEnd>.GetEnumerator Gets an enumerator object for this collection.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Gets an enumerator object for this collection.

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