Skip to content

Class ExcelProtectedRange

Namespace: OfficeOpenXml
Assembly: EPPlus.dll

A protected range in a worksheet ExcelProtection ExcelSheetProtection ExcelEncryption

public class ExcelProtectedRange : XmlHelper

Inheritance

object ← XmlHelper ← ExcelProtectedRange

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

Address

The address of the protected range

public ExcelAddress Address { get; set; }

Property Value

ExcelAddress

Name

The name of the protected range

public string Name { get; set; }

Property Value

string

SecurityDescriptor

The security descriptor defines user accounts who may edit this range without providing a password to access the range.

public string SecurityDescriptor { get; set; }

Property Value

string

Methods

SetPassword(string)

Sets the password for the range

public void SetPassword(string password)

Parameters

password string

The password used to generete the hash