Gets or sets the name of the worksheet.
Namespace:
Aspose.Cells
Assembly:
Aspose.Cells (in Aspose.Cells.dll) Version: 22.5.0.0 (22.5.0)
Syntaxpublic string Name { get; set; }
Public Property Name As String
Get
Set
public:
property String^ Name {
String^ get ();
void set (String^ value);
}
member Name : string with get, set
Property Value
Type:
String
RemarksThe 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