Aspose::Cells::NameCollection::Add method

NameCollection::Add(const U16String&) method

Defines a new name.

int32_t Aspose::Cells::NameCollection::Add(const U16String &text)
ParameterTypeDescription
textconst U16String&The text to use as the name.

ReturnValue

Name object index.

Remarks

Name cannot include spaces and cannot look like cell references.

See Also

NameCollection::Add(const char16_t*) method

Defines a new name.

int32_t Aspose::Cells::NameCollection::Add(const char16_t *text)
ParameterTypeDescription
textconst char16_t*The text to use as the name.

ReturnValue

Name object index.

Remarks

Name cannot include spaces and cannot look like cell references.

See Also