ExpertXls Excel Library for .NET
ProtectWorksheet Method (allowFlags)
Namespaces ► ExpertXls.ExcelLib ► ExcelWorksheetSecurity ► ProtectWorksheet(ExcelProtectionAllowFlags)
ExpertXls Excel Library for .NET
Protects the worksheet and allows only the operations specified by the protection flags.
Declaration Syntax

C# | Visual Basic | Visual C++

    public void ProtectWorksheet(
    	ExcelProtectionAllowFlags allowFlags
    )

    Public Sub ProtectWorksheet ( _
    	allowFlags As ExcelProtectionAllowFlags _
    )

    public:
    void ProtectWorksheet(
    	ExcelProtectionAllowFlags allowFlags
    )

Parameters

allowFlags (ExcelProtectionAllowFlags)
  The flags specifying the operations allowed after protection.

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)