Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ProtectedRangeCollection Methods
Show Inherited Hide Inherited

A collection of items which associate worksheet ranges and security information required to unlock them for editing.
Name Description
Add(String, CellRange) Creates a new protected range and adds it to the collection.
Add(String, IList<CellRange>) Creates a protected range and adds it to a worksheet collection of protected ranges.
Add(String, String) Creates a new protected range and adds it to the collection.
Clear() Removes all items from a collection thus clearing protection ranges in a worksheet.
Contains(ProtectedRange) Determines whether the collection contains the specified protected range.
Contains(String) Determines whether the collection contains the protected range with the specified name.
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
Remove(ProtectedRange) Removes the specified protected range from a collection.
Remove(String) Removes the specified protected range from a collection.
RemoveAt(Int32) Removes the element at the specified index of the ProtectedRangeCollection instance.
See Also