コード例 #1
0
        internal static CT_ExternalSheetDataSet Parse(XElement node, XmlNamespaceManager namespaceManager)
        {
            CT_ExternalSheetDataSet ctObj = new CT_ExternalSheetDataSet();

            foreach (XElement childNode in node.ChildElements())
            {
                ctObj.sheetDataField.Add(CT_ExternalSheetData.Parse(childNode, namespaceManager));
            }
            return(ctObj);
        }
コード例 #2
0
        internal static CT_ExternalSheetData Parse(XElement node, XmlNamespaceManager namespaceManager)
        {
            CT_ExternalSheetData sheetData = new CT_ExternalSheetData();

            sheetData.refreshErrorField = XmlHelper.ReadBool(node.Attribute("refreshError"));
            sheetData.sheetIdField      = XmlHelper.ReadUInt(node.Attribute("sheetId"));
            foreach (XElement childNode in node.ChildElements())
            {
                if (childNode.Name.LocalName == "row")
                {
                    sheetData.rowField.Add(CT_ExternalRow.Parse(childNode, namespaceManager));
                }
            }
            return(sheetData);
        }