This topic has not yet been rated - Rate this topic

FieldCollection.Contains Method (Int32)

Checks whether this collection contains the Field that is specified by its ID.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
public bool Contains(
	int id
)

Parameters

id
Type: Int32

The ID of the desired Field.

Return Value

Type: Boolean
True if this collection contains the specified Field; otherwise, false.
ExceptionCondition
ValidationExcepion

The index parameter is out of range.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.