Skip to main content

TdxSpreadSheetDefinedNames.IndexOf(string) Method

Returns an index of specified defined name in the opened document.

Declaration

function IndexOf(const ACaption: string): Integer; overload;

Parameters

Name Type Description
ACaption string

A defined name caption.

Returns

Type Description
Integer

A defined name index.

Remarks

Note

If the collection does not contain a defined name with the specified caption, an IndexOf function call returns -1.

See Also