FieldDefinitionCollection.Contains Method (FieldDefinition)
Checks whether this collection contains the specified FieldDefinition object.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public Function Contains ( _
fieldDefinition As FieldDefinition _
) As Boolean
public bool Contains(
FieldDefinition fieldDefinition
)
public:
bool Contains(
FieldDefinition^ fieldDefinition
)
member Contains :
fieldDefinition:FieldDefinition -> bool
public function Contains(
fieldDefinition : FieldDefinition
) : boolean
Parameters
- fieldDefinition
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinition
The FieldDefinition object of interest.
Return Value
Type: System.Boolean
True if this collection contains the specified FieldDefinition object; 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.