Open main menu

RAD Studio API Documentation β

System.Classes.TCollectionItem.GetNamePath

Delphi

function GetNamePath: string; override;

C++

DYNAMIC System::UnicodeString __fastcall GetNamePath(void);

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TCollectionItem

Description

Returns a string used by the Object Inspector.

GetNamePath determines the text that represents the collection in the Object Inspector. TCollectionItem overrides the inherited method to return the name of the collection followed by the index of the item within that collection.