asposecells.api
Class ProtectedRangeCollection

Encapsulates a collection of ProtectedRange objects.

Property Getters/Setters Summary
methodgetCount()
          
methodget(index)
           Gets the ProtectedRange element at the specified index.
 
Method Summary
methodadd(value)→ inherited from CollectionBase
          Reserved for internal use.
methodadd(name, startRow, startColumn, endRow, endColumn)
           Adds a ProtectedRange item to the collection.
methodclear()→ inherited from CollectionBase
          
methodcontains(value)→ inherited from CollectionBase
          Reserved for internal use.
methodget(index)→ inherited from CollectionBase
          Reserved for internal use.
methodindexOf(value)→ inherited from CollectionBase
          Reserved for internal use.
methoditerator()→ inherited from CollectionBase
          
methodremoveAt(index)→ inherited from CollectionBase
          
 

Property Getters/Setters Detail

getCount : int 

int getCount()

get : ProtectedRange 

ProtectedRange 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

int 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: 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.

clear

 clear()

removeAt

 removeAt(index)

iterator

Iterator iterator()

get

Object get(index)
Reserved for internal use.

contains

boolean contains(value)
Reserved for internal use.

add

int add(value)
Reserved for internal use.

indexOf

int 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.