コード例 #1
0
        internal SLXmlColumnProperties Clone()
        {
            SLXmlColumnProperties xcp = new SLXmlColumnProperties();
            xcp.MapId = this.MapId;
            xcp.XPath = this.XPath;
            xcp.Denormalized = this.Denormalized;
            xcp.XmlDataType = this.XmlDataType;

            return xcp;
        }
コード例 #2
0
        internal SLXmlColumnProperties Clone()
        {
            SLXmlColumnProperties xcp = new SLXmlColumnProperties();

            xcp.MapId        = this.MapId;
            xcp.XPath        = this.XPath;
            xcp.Denormalized = this.Denormalized;
            xcp.XmlDataType  = this.XmlDataType;

            return(xcp);
        }
コード例 #3
0
        private void SetAllNull()
        {
            this.CalculatedColumnFormula = new SLCalculatedColumnFormula();
            this.HasCalculatedColumnFormula = false;
            this.TotalsRowFormula = new SLTotalsRowFormula();
            this.HasTotalsRowFormula = false;
            this.XmlColumnProperties = new SLXmlColumnProperties();
            this.HasXmlColumnProperties = false;

            this.Id = 0;
            this.UniqueName = null;
            this.Name = string.Empty;
            this.TotalsRowFunction = TotalsRowFunctionValues.None;
            this.HasTotalsRowFunction = false;
            this.TotalsRowLabel = null;
            this.QueryTableFieldId = null;
            this.HeaderRowDifferentialFormattingId = null;
            this.DataFormatId = null;
            this.TotalsRowDifferentialFormattingId = null;
            this.HeaderRowCellStyle = null;
            this.DataCellStyle = null;
            this.TotalsRowCellStyle = null;
        }