Class PivotTableFields
Represents a collection of pivot fields in the pivot table.
Inheritance
System.Object
PivotTableFields
Implements
System.Collections.Generic.IList<PivotFieldImpl>
System.Collections.Generic.ICollection<PivotFieldImpl>
System.Collections.Generic.IEnumerable<PivotFieldImpl>
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.PivotTables
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class PivotTableFields : CollectionBaseEx<PivotFieldImpl>, IList<PivotFieldImpl>, ICollection<PivotFieldImpl>, IEnumerable<PivotFieldImpl>, IParentApplication, ICloneParent, IPivotFields, IEnumerable
Constructors
PivotTableFields(IApplication, Object)
Initializes a new instance of pivot fields collection.
Declaration
public PivotTableFields(IApplication application, object parent)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | |
System.Object | parent |
PivotTableFields(PivotTableImpl)
Initializes new instance of the pivot fields collection with the specified parent pivot table..
Declaration
public PivotTableFields(PivotTableImpl table)
Parameters
Type | Name | Description |
---|---|---|
PivotTableImpl | table | Parent table. |
Properties
Item[String]
Gets the pivot field from the collection with the specified name. Read-only.
Declaration
public IPivotField this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the item to return. |
Property Value
Type | Description |
---|---|
IPivotField |
Methods
Clone(Object)
Creates a copy of this collection.
Declaration
public override object Clone(object parent)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parent | New parent for the created object. |
Returns
Type | Description |
---|---|
System.Object |
Overrides
Syncfusion.XlsIO.Implementation.Collections.CollectionBaseEx<Syncfusion.XlsIO.Implementation.PivotTables.PivotFieldImpl>.Clone(System.Object)
Explicit Interface Implementations
IPivotFields.get_Item(Int32)
Declaration
IPivotField IPivotFields.get_Item(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
IPivotField |
IPivotFields.Item[Int32]
Gets the pivot field from the collection with the specified index. Read-only.
Declaration
IPivotField IPivotFields.this[] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Item index to return. |
Returns
Type | Description |
---|---|
IPivotField |
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable