Delen via


FieldDefinitionCollection.Contains Method (Int32)

Checks whether a field definition that has the specified ID 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 ( _
    id As Integer _
) As Boolean
public bool Contains(
    int id
)
public:
bool Contains(
    int id
)
member Contains : 
        id:int -> bool
public function Contains(
    id : int
) : boolean

Parameters

  • id
    Type: System.Int32

    The ID of the field definition of interest.

Return Value

Type: System.Boolean
True if the field definition that has the specified ID exists in this collection; otherwise, false.

.NET Framework Security

See Also

Reference

FieldDefinitionCollection Class

Contains Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace