ParentNode
返回父节点。
示例:
Dim
tr
As
WinForm.TreeView
Dim
pd
As
WinForm.TreeNode
tr = Forms(
"窗口1"
).Controls(
"TreeView1"
)
pd = tr.SelectedNode.ParentNode
pd.Nodes.Add(
"新节点"
)
本页地址:
http://www.foxtable.com/webhelp/topics/1498.htm