Skip to main content
All docs
V26.1
  • Row

    ProtectedRangeCollection.Add(String, CellRange) Method

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

    Namespace: DevExpress.Spreadsheet

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

    NuGet Package: DevExpress.Spreadsheet.Core

    Declaration

    ProtectedRange Add(
        string name,
        CellRange range
    )

    Parameters

    Name Type Description
    name String

    A string that is the name of the new protected range.

    range CellRange

    A CellRange 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