Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Description

Excerpt

Sets or returns the password hash that is used to write-protect (not encrypt) the worksheet.

Signature
C#
C#
public int ProtectPasswordHash{ get; set; }
Signature
vb.net
vb.net
Public Property ProtectPasswordHash() As Integer<

Example
Code Block
csharp
csharp
titleC#
          //--- Get ProtectPasswordHash
          int passwordHash = ws.ProtectPasswordHash;

          //--- Set ProtectPasswordHash
          ws.ProtectPasswordHash = 12345;
        
Code Block
vb.net
vb.net
titlevb.net
          '--- Get ProtectPasswordHash
          Dim passwordHash = ws.ProtectPasswordHash

          '--- Set ProtectPasswordHash
          ws.ProtectPasswordHash = 12345