Represents a collection of WorkItemLinkType objects.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLinkTypeCollection
Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Class WorkItemLinkTypeCollection _
    Implements IEnumerable(Of WorkItemLinkType), IEnumerable
public class WorkItemLinkTypeCollection : IEnumerable<WorkItemLinkType>, 
    IEnumerable
public ref class WorkItemLinkTypeCollection : IEnumerable<WorkItemLinkType^>, 
    IEnumerable
type WorkItemLinkTypeCollection =  
    class 
        interface IEnumerable<WorkItemLinkType>
        interface IEnumerable 
    end
public class WorkItemLinkTypeCollection implements IEnumerable<WorkItemLinkType>, IEnumerable
The WorkItemLinkTypeCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Count | Gets the number of WorkItemLinkType in this collection. | 
| .gif) | Item | Gets the WorkItemLinkType in this collection that has the specified reference name. | 
| .gif) | LinkTypeEnds | Gets a collection of all WorkItemLinkType objects that are associated with the Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLinkTypes in this collection. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Contains | Checks whether the specified WorkItemLinkType occurs in this collection. | 
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Export | Exports all WorkItemLinkTypes in this collection to an XML document. | 
| .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) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Import(String) | Imports the specified XML-formatted string as a WorkItemLinkType and adds it to this collection. | 
| .gif) | Import(XmlElement) | Imports the specified XML object as a WorkItemLinkType and adds it to this collection. | 
| .gif) | Import(String, Boolean) | |
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
| .gif) | TryGetByName | Attempts to get a WorkItemLinkType in this collection that has the specified reference name. Passes out the WorkItemLinkType object in the linkType parameter. | 
| .gif) | Validate | Validates the WorkItemLinkType definitions from the specified XML. | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | ImportEventHandler | An event handler for events that occur during an import call. | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IEnumerable<WorkItemLinkType>.GetEnumerator | Gets an enumerator object for this collection. | 
| .gif) .gif) | 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.