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


Represents the password to protect the range.

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

## See Also

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


Represents the password to protect the range.

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

## See Also

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