Class PivotCacheFieldsCollection
Summary description for PivotCacheFieldsCollection.
Implements
System.Collections.Generic.IList<PivotCacheFieldImpl>
System.Collections.Generic.ICollection<PivotCacheFieldImpl>
System.Collections.Generic.IEnumerable<PivotCacheFieldImpl>
System.Collections.IEnumerable
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public class PivotCacheFieldsCollection : CollectionBase<PivotCacheFieldImpl>, IList<PivotCacheFieldImpl>, ICollection<PivotCacheFieldImpl>, IEnumerable<PivotCacheFieldImpl>, IEnumerable
Constructors
PivotCacheFieldsCollection()
Initializes new instance of the pivot cache fields collection.
Declaration
public PivotCacheFieldsCollection()
Properties
Item[String]
Gets the pivot cache field
Declaration
public PivotCacheFieldImpl this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Property Value
Type |
---|
PivotCacheFieldImpl |
Methods
Add(PivotCacheFieldImpl)
Adds new field to the collection.
Declaration
public int Add(PivotCacheFieldImpl field)
Parameters
Type | Name | Description |
---|---|---|
PivotCacheFieldImpl | field | Field to add. |
Returns
Type | Description |
---|---|
System.Int32 | Index of the newly added field. |
AddNewField(String)
Declaration
public PivotCacheFieldImpl AddNewField(string strName)
Parameters
Type | Name | Description |
---|---|---|
System.String | strName |
Returns
Type |
---|
PivotCacheFieldImpl |
AddNewField(String, String)
Declaration
public PivotCacheFieldImpl AddNewField(string strName, string formula)
Parameters
Type | Name | Description |
---|---|---|
System.String | strName | |
System.String | formula |
Returns
Type |
---|
PivotCacheFieldImpl |
GetOrdinaryFieldCount()
Gets the pivot cache fields count
Declaration
public int GetOrdinaryFieldCount()
Returns
Type |
---|
System.Int32 |
Parse(BiffReader, Int32)
Reads collection records from the BiffReader.
Declaration
public void Parse(BiffReader reader, int iFieldsNumber)
Parameters
Type | Name | Description |
---|---|---|
BiffReader | reader | BiffReader to get records from. |
System.Int32 | iFieldsNumber | Number of fields to read. |
Serialize(OffsetArrayList)
Saves collection as Biff records.
Declaration
public void Serialize(OffsetArrayList records)
Parameters
Type | Name | Description |
---|---|---|
OffsetArrayList | records | OffsetArrayList that should get all collection's records. |
Implements
System.Collections.Generic.IList<>
System.Collections.Generic.ICollection<>
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable