You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ITreeNode is the interface used to represent the nodes of an ITree instance. A ITreeNode provides properties for storing a key and value at the node and obtaining information about it's children.
API
Again we assume a ITreeNode<String, int> for simplicity in our examples:
//Get the KeyStringkey=node.Key;//Get the Valueintvalue=node.Value;//Does the node have children?boolhasChildren=node.HasChildren;//How many children does the node haveintchildCount=node.ChildCount;