## ProtectedRangeCollection.Add method

Agrega un[`ProtectedRange`](../../protectedrange) ítem a la colección.

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

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| name | String | Título de rango. Esto se usa como un descriptor, no como una definición de rango con nombre. |
| startRow | Int32 | Índice de fila de inicio del rango. |
| startColumn | Int32 | Índice de columna de inicio del rango. |
| endRow | Int32 | Índice de fila final del rango. |
| endColumn | Int32 | Índice de columna final del rango. |

### Valor_devuelto

índice de objetos

### Ver también

* class [ProtectedRangeCollection](../../protectedrangecollection)
* espacio de nombres [Aspose.Cells](../../protectedrangecollection)
* asamblea [Aspose.Cells](../../../)

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