TreeNode.PopulateChildrenData C# (CSharp) 메소드

PopulateChildrenData() 공개 메소드

public PopulateChildrenData ( ) : void
리턴 void
    public void PopulateChildrenData()
    {
        if (Children != null || NodeXmlSrc == null)
            return;

        TreeNode n;
        if (this is Tree)
            // I've never seen this, but just in case...
            n = MsdnClient.OpenTree (NodeXmlSrc);
        else
            n = MsdnClient.OpenTreeNode (NodeXmlSrc);

        Children = n.Children;
    }