WorkItemLinkInfo.Equality Operator
Operator to check for equality between the specified WorkItemLinkInfo instances.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Декларация
Public Shared Operator = ( _
workItemLinkInfo1 As WorkItemLinkInfo, _
workItemLinkInfo2 As WorkItemLinkInfo _
) As Boolean
public static bool operator ==(
WorkItemLinkInfo workItemLinkInfo1,
WorkItemLinkInfo workItemLinkInfo2
)
public:
static bool operator ==(
WorkItemLinkInfo workItemLinkInfo1,
WorkItemLinkInfo workItemLinkInfo2
)
static let inline (=)
workItemLinkInfo1:WorkItemLinkInfo *
workItemLinkInfo2:WorkItemLinkInfo : bool
JScript does not support overloaded operators.
Parameters
- workItemLinkInfo1
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLinkInfo
Instance 1.
- workItemLinkInfo2
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLinkInfo
Instance 2.
Return Value
Type: System.Boolean
True if the two instances are equivalent; otherwise, false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | At least one of the arguments is null. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.