CreateWorkbookProtectionXLSX Method
'Declaration
Public Shared Function CreateWorkbookProtectionXLSX( _
ByVal As Boolean, _
ByVal () As Byte, _
ByVal () As Byte, _
ByVal As UInteger, _
ByVal As String _
) As CT_WorkbookProtection
'Usage
Dim lockStructure As Boolean
Dim hash() As Byte
Dim salt() As Byte
Dim spinCount As UInteger
Dim algorithmName As String
Dim value As CT_WorkbookProtection
value = WorkbookSynchronizer.CreateWorkbookProtectionXLSX(lockStructure, hash, salt, spinCount, algorithmName)
Parameters
- lockStructure
- hash
- salt
- spinCount
- algorithmName