ProtectedRangeCollection

ProtectedRangeCollection class

Encapsulates a collection of ProtectedRange objects.

Properties

NameTypeDescription
Countint
Item (int)ProtectedRangeGets the ProtectedRange element at the specified index.

Methods

NameDescription
addAdds a ProtectedRange item to the collection.
clear
removeAt
iterator
getReserved for internal use.
containsReserved for internal use.
indexOfReserved 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.

ParameterTypeDescription
nameStringRange title. This is used as a descriptor, not as a named range definition.
startRowintStart row index of the range.
startColumnintStart column index of the range.
endRowintEnd row index of the range.
endColumnintEnd 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.