WorkItemLinkTypeCollection Class
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 | |
---|---|---|
Count | Gets the number of WorkItemLinkType in this collection. | |
Item | Gets the WorkItemLinkType in this collection that has the specified reference name. | |
LinkTypeEnds | Gets a collection of all WorkItemLinkType objects that are associated with the WorkItemLinkTypes in this collection. |
Top
Methods
Name | Description | |
---|---|---|
Contains | Checks whether the specified WorkItemLinkType occurs in this collection. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Export | Exports all WorkItemLinkTypes in this collection to an XML document. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Import(String) | Imports the specified XML-formatted string as a WorkItemLinkType and adds it to this collection. | |
Import(XmlElement) | Imports the specified XML object as a WorkItemLinkType and adds it to this collection. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetByName | Attempts to get a WorkItemLinkType in this collection that has the specified reference name. Passes out the WorkItemLinkType object in the linkType parameter. | |
Validate | Validates the WorkItemLinkType definitions from the specified XML. |
Top
Events
Name | Description | |
---|---|---|
ImportEventHandler | An event handler for events that occur during an import call. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable<WorkItemLinkType>.GetEnumerator | Gets an enumerator object for this collection. | |
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.