public static CT_MemberProperties Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_MemberProperties ctObj = new CT_MemberProperties(); if (node.Attributes["count"] != null) ctObj.count = XmlHelper.ReadUInt(node.Attributes["count"]); ctObj.mp = new List<CT_MemberProperty>(); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "mp") ctObj.mp.Add(CT_MemberProperty.Parse(childNode, namespaceManager)); } return ctObj; }
public CT_PivotHierarchy() { this.extLstField = new CT_ExtensionList(); this.membersField = new List<CT_Members>(); this.mpsField = new CT_MemberProperties(); this.outlineField = false; this.multipleItemSelectionAllowedField = false; this.subtotalTopField = false; this.showInFieldListField = true; this.dragToRowField = true; this.dragToColField = true; this.dragToPageField = true; this.dragToDataField = false; this.dragOffField = true; this.includeNewItemsInFilterField = false; }