Difference between revisions of "TStringList.GetNamePath"

From Soldat Community Wiki
Jump to: navigation, search
(new page)
 
(No difference)

Latest revision as of 13:28, 24 August 2013

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.