Class ExcelStyleCollection<T>
Base collection class for styles.
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public class ExcelStyleCollection<T> : IEnumerable<T>, IEnumerable
Type Parameters
Name | Description |
---|---|
T | The style type |
Properties
Count
Number of items in the collection
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Int32]
Indexer for the collection
Declaration
public T this[int PositionID] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | PositionID | The index of the Style |
Property Value
Type | Description |
---|---|
T |
TopNode
The top xml node of the collection
Declaration
public XmlNode TopNode { get; set; }
Property Value
Type | Description |
---|---|
System.Xml.XmlNode |
Methods
GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<T> | The enumerator |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | The enumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable