Class PivotCacheFieldsCollection
Summary description for PivotCacheFieldsCollection.
Implements
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.NET.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
this[string]
Gets the pivot cache field
Declaration
public PivotCacheFieldImpl this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| 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 |
|---|---|
| int | Index of the newly added field. |
AddNewField(string)
Declaration
public PivotCacheFieldImpl AddNewField(string strName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | strName |
Returns
| Type |
|---|
| PivotCacheFieldImpl |
AddNewField(string, string)
Declaration
public PivotCacheFieldImpl AddNewField(string strName, string formula)
Parameters
| Type | Name | Description |
|---|---|---|
| string | strName | |
| string | formula |
Returns
| Type |
|---|
| PivotCacheFieldImpl |
GetOrdinaryFieldCount()
Gets the pivot cache fields count
Declaration
public int GetOrdinaryFieldCount()
Returns
| Type |
|---|
| int |
Parse(BiffReader, int)
Reads collection records from the BiffReader.
Declaration
[CLSCompliant(false)]
public void Parse(BiffReader reader, int iFieldsNumber)
Parameters
| Type | Name | Description |
|---|---|---|
| BiffReader | reader | BiffReader to get records from. |
| int | iFieldsNumber | Number of fields to read. |
Serialize(OffsetArrayList)
Saves collection as Biff records.
Declaration
[CLSCompliant(false)]
public void Serialize(OffsetArrayList records)
Parameters
| Type | Name | Description |
|---|---|---|
| OffsetArrayList | records | OffsetArrayList that should get all collection's records. |