internal SLConditionalFormat Clone() { SLConditionalFormat cf = new SLConditionalFormat(); cf.Scope = this.Scope; cf.Type = this.Type; cf.Priority = this.Priority; cf.PivotAreas = new List<SLPivotArea>(); foreach (SLPivotArea pa in this.PivotAreas) { cf.PivotAreas.Add(pa.Clone()); } return cf; }
internal SLConditionalFormat Clone() { SLConditionalFormat cf = new SLConditionalFormat(); cf.Scope = this.Scope; cf.Type = this.Type; cf.Priority = this.Priority; cf.PivotAreas = new List <SLPivotArea>(); foreach (SLPivotArea pa in this.PivotAreas) { cf.PivotAreas.Add(pa.Clone()); } return(cf); }