Skip to content

Commit 003cf74

Browse files
author
David Berneda
committed
Update README.md
1 parent 94f42f0 commit 003cf74

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ Adding nodes using the Add method, returns the new created node:
3232
Node := Root.Add('abc');
3333
```
3434

35+
"Data" property is your own custom data at each node:
36+
37+
```delphi
38+
var Node : TNode<TDateTime>;
39+
When : TDateTime;
40+
Node := Root.Add(Now);
41+
When := Node.Data;
42+
Node.Data := Tomorrow;
43+
```
44+
3545
"Count" returns the number of child nodes for a given node:
3646

3747
```delphi

0 commit comments

Comments
 (0)