The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

ProtectedRange Members

An association of a worksheet range and credentials required to unlock it for editing.

Properties

Name Description
Name

Gets or sets the name of the protected range.

Range

Gets or sets the worksheet cell or range associated with the current protected range.

Ranges

Obsolete. Gets or sets worksheet ranges for the current ProtectedRange object.

RefersTo

Gets or sets a string that specifies a worksheet cell or cell range with which the protected range is associated.

RefersToInvariant

Gets or sets a culture-independent string that specifies a worksheet cell or cell range with which the protected range is associated.

SecurityDescriptor

Gets or sets a security descriptor that defines users and their access rights for the current protected range.

Methods

Name Description
CreateSecurityDescriptor(IEnumerable<EditRangePermission>)

Creates a security descriptor for the current protected range.

SetPassword(String)

Specifies the password that unlocks a range on a protected worksheet.

See Also