## TaskCollection.Contains method

Checks if collection contains specified item.

```csharp
public bool Contains(Task item)
```

| Parameter | Type | Description |
| --- | --- | --- |
| item | Task | The item to check. |

### Return Value

true, if collection contains an item, false otherwise.

### See Also

* class [Task](../../task/)
* class [TaskCollection](../)
* namespace [Aspose.Tasks](../../taskcollection/)
* assembly [Aspose.Tasks](../../../)


