ExcelProtection Members

Office Open XML

The ExcelProtection type exposes the following members.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
SetPassword
Sets a password for the workbook. This does not encrypt the workbook.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
LockRevision
Lock the workbook for revision
LockStructure
Locks the structure,which prevents users from adding or deleting worksheets or from displaying hidden worksheets.
LockWindows
Locks the position of the workbook window.

See Also