[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# TComponent.GetNamePath

Returns the name path of this component.

## Declaration

`protected function TComponent.GetNamePath: String; override;`

## Description

GetNamePath returns the name of the component as it will be shown in the object inspector.

TComponent overrides GetNamePath so it returns the Name property of the component.

## See also

TComponent.Name |  | Name of the component.
TPersistent.GetNamePath |  | Returns a string that can be used to identify the class instance.