Class ProtectedRange

ProtectedRange class

A specified range to be allowed to edit when the sheet protection is ON.

public class ProtectedRange


CellArea { get; }Gets the CellArea object represents the cell area to be protected.
IsProtectedWithPassword { get; }Indicates whether the worksheets is protected with password.
Name { get; set; }Gets the Range title. This is used as a descriptor, not as a named range definition.
Password { get; set; }Represents the password to protect the range.
SecurityDescriptor { get; set; }The security descriptor defines user accounts who may edit this range without providing a password to access the range.


AddArea(int, int, int, int)Adds a referred area to this
GetAreas()Gets all referred areas.

See Also