WorksheetProtection Constructor (WorksheetProtectionType, String) |
Creates new instance with specified worksheet protection type and password
Namespace: GroupDocs.Editor.OptionsAssembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 21.10.0.0
Syntaxpublic WorksheetProtection(
WorksheetProtectionType protectionType,
string password
)
Public Sub New (
protectionType As WorksheetProtectionType,
password As String
)
public:
WorksheetProtection(
WorksheetProtectionType protectionType,
String^ password
)
new :
protectionType : WorksheetProtectionType *
password : string -> WorksheetProtection
Parameters
- protectionType
- Type: GroupDocs.Editor.OptionsWorksheetProtectionType
Type of worksheet protection - password
- Type: SystemString
Password, that locks the protection
See Also