TCollectionItem.GetNamePath¶
Returns the namepath of this collection item.
Declaration¶
Source position: classesh.inc line 896
public
function TCollectionItem.GetNamePath : string; override;
Description¶
GetNamePath overrides the TPersistent.GetNamePath method to return the name of the managing collection and appends its TCollectionItem.Index property.
See also¶
| Name | Description |
|---|---|
| TCollectionItem.Collection | Pointer to the collection managing this item. |
| TPersistent.GetNamePath | Returns a string that can be used to identify the class instance. |
| TCollectionItem.Index | Index of the item in its managing collection TCollection.Items property. |