示例#1
0
        public void SetValueField(string FieldName)
        {
            SLPivotFieldType pft = new SLPivotFieldType();

            pft.IsNumericIndex = false;
            pft.FieldName      = FieldName;
            pft.FieldType      = SLPivotFieldTypeValues.Value;
            this.FieldSettingInstructions.Add(pft);
        }
示例#2
0
        public void SetValueField(int FieldIndex)
        {
            SLPivotFieldType pft = new SLPivotFieldType();

            pft.IsNumericIndex = true;
            pft.FieldIndex     = FieldIndex;
            pft.FieldType      = SLPivotFieldTypeValues.Value;
            this.FieldSettingInstructions.Add(pft);
        }
 public void SetValueField(string FieldName)
 {
     SLPivotFieldType pft = new SLPivotFieldType();
     pft.IsNumericIndex = false;
     pft.FieldName = FieldName;
     pft.FieldType = SLPivotFieldTypeValues.Value;
     this.FieldSettingInstructions.Add(pft);
 }
 public void SetValueField(int FieldIndex)
 {
     SLPivotFieldType pft = new SLPivotFieldType();
     pft.IsNumericIndex = true;
     pft.FieldIndex = FieldIndex;
     pft.FieldType = SLPivotFieldTypeValues.Value;
     this.FieldSettingInstructions.Add(pft);
 }