Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetDefinedName.ToString Method

Returns the defined name’s scope and caption as a string.

#Declaration

Delphi
function ToString: string; override;

#Returns

Type
string

#Remarks

This function returns a string comprised of the caption of the worksheet in which the defined name is valid (only if the Scope property value is not nil), followed by the name’s caption delimited by an exclamation mark. If either of the source captions includes a space, the ToString function encloses the resulting string with quotation marks.

See Also