Aspose::Cells::ProtectedRangeCollection class

ProtectedRangeCollection class

Encapsulates a collection of ProtectedRange objects.

class ProtectedRangeCollection

Methods

MethodDescription
Add(const U16String& name, int32_t startRow, int32_t startColumn, int32_t endRow, int32_t endColumn)Adds a ProtectedRange item to the collection.
Add(const char16_t* name, int32_t startRow, int32_t startColumn, int32_t endRow, int32_t endColumn)Adds a ProtectedRange item to the collection.
Get(int32_t index)Gets the ProtectedRange element at the specified index.
GetCount()
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const ProtectedRangeCollection& src)operator=
ProtectedRangeCollection(ProtectedRangeCollection_Impl* impl)Constructs from an implementation object.
ProtectedRangeCollection(const ProtectedRangeCollection& src)Copy constructor.
~ProtectedRangeCollection()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also