TStringList.GetNamePath

From Soldat Community Wiki
Revision as of 14:28, 24 August 2013 by Mighty (talk | contribs) (new page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.