---
title: "ReadOnlyCollectionBase1.Add"
url: "https://reference.aspose.com/tasks/net/aspose.tasks/readonlycollectionbase-1/add/"
product: "Aspose.Tasks for .NET API Reference"
description: "ReadOnlyCollectionBase method. This is the stub implementation of ICollections Add method that only throws NotSupportedException"
---

## ReadOnlyCollectionBase&lt;T&gt;.Add method

This is the stub implementation of ICollection's Add method, that only throws NotSupportedException

```csharp
public void Add(T item)
```

| Parameter | Type | Description |
| --- | --- | --- |
| item | T | The item to add. |

### See Also

* class [ReadOnlyCollectionBase&lt;T&gt;](../)
* namespace [Aspose.Tasks](../../readonlycollectionbase-1/)
* assembly [Aspose.Tasks](../../../)


