Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Signature
C#
C#
public int ProtectPasswordHash{ get; set; }
Signature
vb.net
vb.net
<p>PublicPublic Property ProtectPasswordHash() As Integer</p>Integer
Example
Code Block
csharp
csharp
titleC#
          //--- Get the ProtectPasswordHash value for the workbook
          int passwordHash = wb.ProtectPasswordHash;

          //--- Set the ProtectPasswordHash value for the workbook
          wb.ProtectPasswordHash = 12345
        
Code Block
vb.net
vb.net
titlevb.net
          '--- Get the ProtectPasswordHash value for the workbook
          Dim passwordHash As Integer = wb.ProtectPasswordHash

          '--- Set the ProtectPasswordHash value for the workbook
          wb.ProtectPasswordHash = 12345