ProtectedRangeCollection.Add(String, String) Method
Creates a new protected range and adds it to the collection.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
name | String | A string that is the name of the new protected range. |
refersTo | String | A string that specifies a reference to a cell or cell range which can be edited in a protected sheet. |
Returns
Type | Description |
---|---|
ProtectedRange | A ProtectedRange object that is the newly added element in the collection. |
See Also