## Add(string) {#add_2}

Adds a label filter criteria.

```csharp
public void Add(string filter)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filter | String | The filter data. |

### See Also

* class [FilterValueCollection](../)
* namespace [Aspose.Cells](../../../aspose.cells/)
* assembly [Aspose.Cells](../../../)

---

## Add(DateTimeGroupingType, int, int, int) {#add}

Adds a date filter criteria value.

```csharp
public void Add(DateTimeGroupingType type, int year, int month, int day)
```

| Parameter | Type | Description |
| --- | --- | --- |
| type | DateTimeGroupingType | The type of date filter. |
| year | Int32 | The year. |
| month | Int32 | The month. |
| day | Int32 | The day. |

### See Also

* enum [DateTimeGroupingType](../../datetimegroupingtype/)
* class [FilterValueCollection](../)
* namespace [Aspose.Cells](../../../aspose.cells/)
* assembly [Aspose.Cells](../../../)

---

## Add(DateTimeGroupingType, int, int, int, int, int, int) {#add_1}

Adds a date time filter criteria value.

```csharp
public void Add(DateTimeGroupingType type, int year, int month, int day, int hour, int minute, 
    int second)
```

| Parameter | Type | Description |
| --- | --- | --- |
| type | DateTimeGroupingType | The type of date filter. |
| year | Int32 | The year. |
| month | Int32 | The month. |
| day | Int32 | The day. |
| hour | Int32 | The hour. |
| minute | Int32 | The minute. |
| second | Int32 | The second. |

### See Also

* enum [DateTimeGroupingType](../../datetimegroupingtype/)
* class [FilterValueCollection](../)
* namespace [Aspose.Cells](../../../aspose.cells/)
* assembly [Aspose.Cells](../../../)


