ExcelSetWorkbookProtectedStructure Method
In This Topic
Set workbook protected structure information
Syntax
'Declaration
Function ExcelSetWorkbookProtectedStructure( _
ByVal () As Byte, _
ByVal () As Byte, _
ByVal As UInteger, _
ByVal As Boolean, _
ByVal As String _
) As Boolean
'Usage
Dim instance As IProtectionSupport
Dim hashValue() As Byte
Dim saltValue() As Byte
Dim spinCount As UInteger
Dim lockStructure As Boolean
Dim algorithmName As String
Dim value As Boolean
value = instance.ExcelSetWorkbookProtectedStructure(hashValue, saltValue, spinCount, lockStructure, algorithmName)
bool ExcelSetWorkbookProtectedStructure(
byte[] ,
byte[] ,
uint ,
bool ,
string
)
Parameters
- hashValue
- The hash value
- saltValue
- The salt value that used to compute hash value
- spinCount
- Number of loop used when compute hash value
- lockStructure
- if set to
true
[lock structure]. - algorithmName
- Name of algorithm used to compute hash value
See Also