NameCollectionAdd Method

Defines a new name.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.5.0.0 (21.5)
Syntax
public int Add(
	string text
)

Parameters

text
Type: SystemString
The text to use as the name.

Return Value

Type: Int32
Name object index.
Remarks
Name cannot include spaces and cannot look like cell references.
See Also