## Remove(string) {#remove_1}

Removes the attribute from the collection.

```csharp
public void Remove(string name)
```

| Parameter | Type | Description |
| --- | --- | --- |
| name | String | Name of the attribute. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | The argument is `null`. |
| InvalidOperationException | The collection is locked. |

### See Also

* class [FeatureAttributeCollection](../)
* namespace [Aspose.Gis](../../featureattributecollection/)
* assembly [Aspose.GIS](../../../)

---

## Remove(int) {#remove}

Removes the attribute from the collection.

```csharp
public void Remove(int index)
```

| Parameter | Type | Description |
| --- | --- | --- |
| index | Int32 | Index of the attribute. |

### Exceptions

| exception | condition |
| --- | --- |
| InvalidOperationException | The collection is locked. |
| ArgumentOutOfRangeException | The index is out of range. |

### See Also

* class [FeatureAttributeCollection](../)
* namespace [Aspose.Gis](../../featureattributecollection/)
* assembly [Aspose.GIS](../../../)


