TStringList.GetNamePath

From Soldat Community Wiki
Jump to: navigation, search
function GetNamePath: string
 Result: class instance name

Description

GetNamePath returns a string that can be used to identify the class instance.

Example

var
  s: TStringList;

begin
  s := File.CreateStringList();
  
  WriteLn(s.GetNamePath);
  // TMyStringList
  
  s.Free;
end.