Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns the password hash that is used to protect the workbook.

{signature}
{example}{code:csharp|title=C#}

          //--- Get the ProtectPasswordHash value for the workbook
          int passwordHash = wb.ProtectPasswordHash;

          //--- Set the ProtectPasswordHash value for the workbook
          wb.ProtectPasswordHash = 12345
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Get the ProtectPasswordHash value for the workbook
          Dim passwordHash As Integer = wb.ProtectPasswordHash

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

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns the password hash that is used to protect the workbook.{excerpt}
{signature:C#}
 public int ProtectPasswordHash{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property ProtectPasswordHash() As Integer
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle