NameCollectionAdd Method

Defines a new name.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
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