## WriteProtection::SetPassword(const U16String\&) method


Sets the protected password to modify the file.

```cpp
void Aspose::Cells::WriteProtection::SetPassword(const U16String &value)
```

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [WriteProtection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## WriteProtection::SetPassword(const char16_t*) method


Sets the protected password to modify the file.

```cpp
void Aspose::Cells::WriteProtection::SetPassword(const char16_t *value)
```

## See Also

* Class [Vector](../../vector/)
* Class [WriteProtection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
