Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

ProtectedRangeCollection.Add Method

Name Parameters Description
Add(String, Range) name, range Creates a new protected range and adds it to the collection.
Add(String, IList<Range>) name, ranges Creates a protected range and adds it to a worksheet collection of protected ranges.
Add(String, String) name, refersTo Creates a new protected range and adds it to the collection.