Aspose::Cells::Protection::SetPassword method
Contents
[
Hide
]Protection::SetPassword(const U16String&) method
Represents the password to protect the worksheet.
void Aspose::Cells::Protection::SetPassword(const U16String &value)
Remarks
If password is set to null or blank string, you can unprotect the worksheet or workbook without using a password. Otherwise, you must specify the password to unprotect the worksheet or workbook.
See Also
- Class Vector
- Class U16String
- Class Protection
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Protection::SetPassword(const char16_t*) method
Represents the password to protect the worksheet.
void Aspose::Cells::Protection::SetPassword(const char16_t *value)
Remarks
If password is set to null or blank string, you can unprotect the worksheet or workbook without using a password. Otherwise, you must specify the password to unprotect the worksheet or workbook.
See Also
- Class Vector
- Class Protection
- Namespace Aspose::Cells
- Library Aspose.Cells for C++