## ProtectedRangeCollection.Add method

Fügt ein hinzu[`ProtectedRange`](../../protectedrange) Artikel zur Sammlung.

```csharp
public int Add(string name, int startRow, int startColumn, int endRow, int endColumn)
```

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| name | String | Bereichstitel. Dies wird als Deskriptor verwendet, nicht als benannte Bereichsdefinition. |
| startRow | Int32 | Anfangszeilenindex des Bereichs. |
| startColumn | Int32 | Anfangsspaltenindex des Bereichs. |
| endRow | Int32 | Endzeilenindex des Bereichs. |
| endColumn | Int32 | Endspaltenindex des Bereichs. |

### Rückgabewert

Objektindex.

### Siehe auch

* class [ProtectedRangeCollection](../../protectedrangecollection)
* namensraum [Aspose.Cells](../../protectedrangecollection)
* Montage [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
