共用方式為


WorkItemLinkInfo Structure

Structure that represents WorkItemLink query results.

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

Syntax

'Declaration
Public Structure WorkItemLinkInfo
public struct WorkItemLinkInfo
public value class WorkItemLinkInfo
[<Sealed>]
type WorkItemLinkInfo =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The WorkItemLinkInfo type exposes the following members.

Methods

  Name Description
Public method Equals(Object) Compares this instance to the specified object. (Overrides ValueType.Equals(Object).)
Public method Equals(WorkItemLinkInfo) Checks whether this instance is equivalent to the specified WorkItemLinkInfo instance.
Public method GetHashCode Gets a hash code for this instance. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Operators

  Name Description
Public operatorStatic member Equality Operator to check for equality between the specified WorkItemLinkInfo instances.
Public operatorStatic member Inequality Operator to check for inequality between the specified WorkItemLinkInfo instances.

Top

Fields

  Name Description
Public field IsLocked Represents a flag that describes whether the link is locked.
Public field LinkTypeId Represents the ID of the link type.
Public field SourceId Represents the source WorkItem ID of the link.
Public field TargetId Represents the target WorkItem ID of the link.

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