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
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.Base.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 | Description |
---|---|
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 | Description |
---|---|
PivotCacheFieldImpl |
AddNewField(String, String)
Declaration
public PivotCacheFieldImpl AddNewField(string strName, string formula)
Parameters
Type | Name | Description |
---|---|---|
System.String | strName | |
System.String | formula |
Returns
Type | Description |
---|---|
PivotCacheFieldImpl |
GetOrdinaryFieldCount()
Gets the pivot cache fields count
Declaration
public int GetOrdinaryFieldCount()
Returns
Type | Description |
---|---|
System.Int32 |
Parse(BiffReader, Int32)
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. |
System.Int32 | 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. |
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable