ProtectedRangeCollection
Contents
[
Hide
]ProtectedRangeCollection class
Encapsulates a collection of ProtectedRange objects.
Properties
| Name | Type | Description |
|---|---|---|
| Count | int | |
| Item (int) | ProtectedRange | Gets the ProtectedRange element at the specified index. |
Methods
| Name | Description |
|---|---|
| add | Adds a ProtectedRange item to the collection. |
| clear | |
| removeAt | |
| iterator | |
| get | Reserved for internal use. |
| contains | Reserved for internal use. |
| indexOf | Reserved for internal use. |
ProtectedRangeCollection.Count property
Type: int
ProtectedRangeCollection.Item (int) property
Gets the ProtectedRange element at the specified index.
Type: ProtectedRange
add(name, startRow, startColumn, endRow, endColumn) (1 of 2)
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 | int | Start row index of the range. |
| startColumn | int | Start column index of the range. |
| endRow | int | End row index of the range. |
| endColumn | int | End column index of the range. |
Returns: object index.
add(value) (2 of 2)
Reserved for internal use.
clear()
removeAt(index)
iterator()
get(index)
Reserved for internal use.
contains(value)
Reserved for internal use.
indexOf(value)
Reserved for internal use.