Class ExcelProtectedRange
A protected range in a worksheet ExcelProtection ExcelSheetProtection ExcelEncryption
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public class ExcelProtectedRange : XmlHelper
  Properties
Address
The address of the protected range
Declaration
public ExcelAddress Address { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ExcelAddress | 
Name
The name of the protected range
Declaration
public string Name { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
SecurityDescriptor
The security descriptor defines user accounts who may edit this range without providing a password to access the range.
Declaration
public string SecurityDescriptor { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
SetPassword(String)
Sets the password for the range
Declaration
public void SetPassword(string password)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | password | The password used to generete the hash  |