RevisionCollection.Contains Method
Checks whether the specified revision exists in this collection.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function Contains ( _
value As Revision _
) As Boolean
public bool Contains(
Revision value
)
public:
bool Contains(
Revision^ value
)
member Contains :
value:Revision -> bool
public function Contains(
value : Revision
) : boolean
Parameters
- value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Revision
The revision instance of interest.
Return Value
Type: System.Boolean
True if this collection contains the specified revision; otherwise, false.
.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.