共用方式為


WorkItemLinkType Class

Represents a specific type of WorkItemLink.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLinkType

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

Syntax

'宣告
Public Class WorkItemLinkType
public class WorkItemLinkType
public ref class WorkItemLinkType
type WorkItemLinkType =  class end
public class WorkItemLinkType

The WorkItemLinkType type exposes the following members.

Properties

  Name Description
Public property CanDelete Gets or sets a flag that describes whether this link type can be deleted.
Public property CanEdit Gets a flag that describes whether this link type can be modified.
Public property ForwardEnd Gets the forward WorkItemLinkTypeEnd of the link type.
Public property IsActive Gets a flag that describes whether this link type is currently active.
Public property IsDirectional Gets a flag that describes a directional link type.
Public property IsNonCircular Gets a flag that describes a noncircular link type.
Public property IsOneToMany Gets a flag that describes whether the target WorkItem must have only one link of this type.
Public property LinkTopology Gets the topology of this link type.
Public property ReferenceName Gets the reference name of this link type.
Public property ReverseEnd Gets the reverse WorkItemLinkTypeEnd of the link type.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Export Exports this link type to an XML representation.
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 GetHashCode Serves as a hash function for a particular type. (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.)

Top

Remarks

The work item link type defines the rules and restrictions that control the relationships that can be made between two WorkItems.

More detail on work item link types can be found in Customizing Project Tracking Data, Forms, Workflow, and Other Objects.

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