Encapsulates a collection of IProtectedRange objects.
More...
Inherits CollectionBase.
|
virtual intrusive_ptr< Aspose::Cells::IProtectedRange > | GetObjectByIndex (Aspose::Cells::Systems::Int32 index)=0 |
| Gets the IProtectedRange element at the specified index. More...
|
|
virtual Aspose::Cells::Systems::Int32 | Add (intrusive_ptr< Aspose::Cells::Systems::String > name, Aspose::Cells::Systems::Int32 startRow, Aspose::Cells::Systems::Int32 startColumn, Aspose::Cells::Systems::Int32 endRow, Aspose::Cells::Systems::Int32 endColumn)=0 |
| Adds a IProtectedRange item to the collection. More...
|
|
Encapsulates a collection of IProtectedRange objects.
◆ Add()
virtual Aspose::Cells::Systems::Int32 Aspose::Cells::IProtectedRangeCollection::Add |
( |
intrusive_ptr< Aspose::Cells::Systems::String > |
name, |
|
|
Aspose::Cells::Systems::Int32 |
startRow, |
|
|
Aspose::Cells::Systems::Int32 |
startColumn, |
|
|
Aspose::Cells::Systems::Int32 |
endRow, |
|
|
Aspose::Cells::Systems::Int32 |
endColumn |
|
) |
| |
|
pure virtual |
Adds a IProtectedRange item to the collection.
- Parameters
-
name | Range title. This is used as a descriptor, not as a named range definition. |
startRow | Start row index of the range. |
startColumn | Start column index of the range. |
endRow | End row index of the range. |
endColumn | End column index of the range. |
- Returns
- object index.
◆ GetObjectByIndex()
virtual intrusive_ptr<Aspose::Cells::IProtectedRange> Aspose::Cells::IProtectedRangeCollection::GetObjectByIndex |
( |
Aspose::Cells::Systems::Int32 |
index | ) |
|
|
pure virtual |
Gets the IProtectedRange element at the specified index.
- Parameters
-
index | The zero based index of the element. |
- Returns
- The element at the specified index.