ProtectedRangeCollection
Contents
[
Hide
]ProtectedRangeCollection class
Encapsulates a collection of ProtectedRange objects.
Methods
| Name | Description |
|---|---|
| add(name, startRow, startColumn, endRow, endColumn) | Adds a ProtectedRange item to the collection. |
| add() | Reserved for internal use. |
| clear() | |
| contains() | Reserved for internal use. |
| get(index) | Gets the ProtectedRange element at the specified index. |
| get() | Reserved for internal use. |
| getCount() | |
| indexOf() | Reserved for internal use. |
| iterator() | |
| removeAt() |
add(name, startRow, startColumn, endRow, endColumn)
Adds a ProtectedRange item to the collection.
| Parameter | Type | Description |
|---|---|---|
| name | String | Range title. This is used as a descriptor, not as a named range definition. |
| startRow | Number | Start row index of the range. |
| startColumn | Number | Start column index of the range. |
| endRow | Number | End row index of the range. |
| endColumn | Number | End column index of the range. |
Returns: Number — Number object index.
add()
Reserved for internal use.
clear()
contains()
Reserved for internal use.
get(index)
Gets the ProtectedRange element at the specified index.
| Parameter | Type | Description |
|---|---|---|
| index | Number | The zero based index of the element. |
Returns: ProtectedRange — ProtectedRange The element at the specified index.
get()
Reserved for internal use.
getCount()
indexOf()
Reserved for internal use.