Skip to main content

TdxSpreadSheetFunctionsRepository.GetInfoByName(PChar,Integer) Method

Provides access to an individual registered function signature by its public name.

Declaration

function GetInfoByName(const AName: PChar; ALength: Integer): TdxSpreadSheetFunctionInfo; overload;

Parameters

Name Type
AName PChar
ALength Integer

Returns

Type
TdxSpreadSheetFunctionInfo

Remarks

Call either of the overloaded function variants to access a registered function signature and retrieve specific information. For instance, you can call a signature’s IsValid function to identify if it has an actual implementation. Refer to the TdxSpreadSheetFunctionInfo class description for detailed information on function signatures and their settings.

The first overloaded GetInfoByName function variant accepts a function’s public name as the AName parameter while the second accepts a pointer to the corresponding resource string and its length as the AName and ALength parameters, respectively. The spreadsheet formula engine’s parser calls the second variant to identify registered functions within a user input string.

Alternatively, you can access registered function signatures by their indexes via the Items property.

See Also