Skip to content

TPersistent.GetNamePath

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

Declaration

Source position: classesh.inc line 444

public 
  function GetNamePath : string;  Virtual;

Description

GetNamePath returns a string that can be used to identify the class instance. This can be used to display a name for this instance in a Object designer.

GetNamePath constructs a name by recursively prepending the Classname of the Owner instance to the Classname of this instance, separated by a dot.

See also

Name Description
TPersistent.GetOwner Returns the owner of the component.