## ProtectionType enum


Represents workbook/worksheet protection type.

```cpp
enum class ProtectionType
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| All | 0 | <br>Represents to protect all. |
| Contents | 1 | <br>Represents to protect contents, used in [Worksheet](../worksheet/) protection. |
| Objects | 2 | <br>Represents to protect objects, used in [Worksheet](../worksheet/) protection. |
| Scenarios | 3 | <br>Represents to protect scenarios, used in [Worksheet](../worksheet/) protection. |
| Structure | 4 | <br>Represents to protect structure, used in [Workbook](../workbook/) protection. |
| Windows | 5 | <br>Represents to protect window, used in [Workbook](../workbook/) protection. |
| None | 6 | <br>Represents no protection. Only for Reading property. |

## See Also

* Namespace [Aspose::Cells](../)
* Library [Aspose.Cells for C++](../../)
