## Worksheet::GetName method


Gets or sets the name of the worksheet.

```cpp
U16String Aspose::Cells::Worksheet::GetName()
```

## Remarks


The max length of sheet name is 31. And you cannot assign same name(case insensitive) to two worksheets. For example, you cannot set "SheetName1" to the first worksheet and set "SHEETNAME1" to the second worksheet.
## See Also

* Class [U16String](../../u16string/)
* Class [Worksheet](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
