aspose.cells
Class ProtectedRangeCollection

Encapsulates a collection of ProtectedRange objects.

Property Getters/Setters Summary
functiongetCount()
          
functionget(index)
           Gets the ProtectedRange element at the specified index.
 
Method Summary
functionadd(value)→ inherited from CollectionBase
          Reserved for internal use.
functionadd(name, startRow, startColumn, endRow, endColumn)
           Adds a ProtectedRange item to the collection.
functionclear()→ inherited from CollectionBase
          
functioncontains(value)→ inherited from CollectionBase
          Reserved for internal use.
functionget(index)→ inherited from CollectionBase
          Reserved for internal use.
functionindexOf(value)→ inherited from CollectionBase
          Reserved for internal use.
functioniterator()→ inherited from CollectionBase
          
functionremoveAt(index)→ inherited from CollectionBase
          
 

Property Getters/Setters Detail

getCount : Number 

function getCount()

get : ProtectedRange 

function get(index)
Gets the ProtectedRange element at the specified index.
Parameters:
index - The zero based index of the element.
Returns:
The element at the specified index.

Method Detail

add

function add(name, startRow, startColumn, endRow, endColumn)
Adds a ProtectedRange item to the collection.
Parameters:
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:
object index.

clear

function clear()

removeAt

function removeAt(index)

iterator

function iterator()

get

function get(index)
Reserved for internal use.

contains

function contains(value)
Reserved for internal use.

add

function add(value)
Reserved for internal use.

indexOf

function indexOf(value)
Reserved for internal use.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.