ExcelWorksheetSecurityProtectWorksheet(ExcelProtectionAllowFlags) Method
Protects the worksheet and allows only the operations specified by the protection flags.
Namespace: Winnovative.ExcelLibAssembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
public void ProtectWorksheet(
ExcelProtectionAllowFlags allowFlags
)
Public Sub ProtectWorksheet (
allowFlags As ExcelProtectionAllowFlags
)
public:
void ProtectWorksheet(
ExcelProtectionAllowFlags allowFlags
)
member ProtectWorksheet :
allowFlags : ExcelProtectionAllowFlags -> unit
Parameters
- allowFlags ExcelProtectionAllowFlags
- The flags specifying the operations allowed after protection.