[Overview][Classes][Index] |
Creates a new resource
Source position: resourcetree.pp line 52
public function TResourceTreeNode.CreateResource: TAbstractResource; virtual; |
The newly created resource
This method creates a new resource.
A new resource is created and its type, name and language id are determined from the ancestor nodes in the tree hierarchy.
Usually CreateResource is called by resource readers that read files in which resources are stored as trees.
Remark: | This method is meaningful only when called on leaf nodes (language id nodes). |
|
Reports whether the node is a leaf node. |