CSReportDll.cReportConnectsAux.load C# (CSharp) Method

load() private method

private load ( CSXml xDoc, XmlNode nodeFather ) : bool
xDoc CSXml
nodeFather System.Xml.XmlNode
return bool
        internal bool load(CSXml.cXml xDoc, XmlNode nodeFather)
        { 
            XmlNode nodeObj = null;
            clear();
            if (nodeFather != null)
            {
                if (xDoc.nodeHasChild(nodeFather))
                {
                    nodeObj = xDoc.getNodeChild(nodeFather);
                    while (nodeObj != null)
                    {
                        if (!add(null, "").load(xDoc, nodeObj)) 
                        { 
                            return false; 
                        }
                        nodeObj = xDoc.getNextNode(nodeObj);
                    }
                }
            }

            return true;
        }