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 write-protect (not encrypt) the worksheet.

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

          //--- Get ProtectPasswordHash
          int passwordHash = ws.ProtectPasswordHash;

          //--- Set ProtectPasswordHash
          ws.ProtectPasswordHash = 12345;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Get ProtectPasswordHash
          Dim passwordHash = ws.ProtectPasswordHash

          '--- Set ProtectPasswordHash
          ws.ProtectPasswordHash = 12345
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns the password hash that is used to write\-protect \(not encrypt\) the worksheet.{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