[]
Represents a collection of all the IStyle objects in the specified or active workbook.
public interface IStyleCollection : IEnumerable<IStyle>, IEnumerable
Public Interface IStyleCollection
Inherits IEnumerable(Of IStyle), IEnumerable
| Name | Description |
|---|---|
| Count | Returns the number of objects in the collection. |
| this[int] | Returns the IStyle object from a collection. |
| this[string] | Returns the IStyle object from a collection. |
| Name | Description |
|---|---|
| Add(string, IRange) | Creates a new IStyle and adds it to the list of styles that are available for the current IWorkbook. |
| Add(string, IStyle) | Creates a new IStyle and adds it to the list of styles that are available for the current IWorkbook. |
| Contains(string) | Determines whether the style name is contained in IStyleCollection. |