ProtectedRangeCollection Methods
A collection of items which associate worksheet ranges and security information required to unlock them for editing.
Name | Description |
---|---|
Add |
Creates a new protected range and adds it to the collection. |
Add |
Creates a protected range and adds it to a worksheet collection of protected ranges. |
Add |
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 |
Determines whether the collection contains the specified protected range. |
Contains |
Determines whether the collection contains the protected range with the specified name. |
Copy |
Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection. |
Get |
Returns an enumerator that iterates through the collection.
Inherited from IEnumerable |
Remove |
Removes the specified protected range from a collection. |
Remove |
Removes the specified protected range from a collection. |
Remove |
Removes the element at the specified index of the Protected |
See Also