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

ProtectedRangeCollection.Add(String, String) Method

Creates a new protected range and adds it to the collection.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

ProtectedRange Add(
    string name,
    string refersTo
)

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