[]
表示指定或活动工作簿中所有IStyle 对象的集合。
public interface IStyleCollection : IEnumerable<IStyle>, IEnumerable
| Name | Description |
|---|---|
| Count | 返回集合中的对象数量。 |
| this[int] | 从集合中返回IStyle 对象。 |
| this[string] | 从集合中返回IStyle 对象。 |
| Name | Description |
|---|---|
| Add(string, IRange) | |
| Add(string, IStyle) | |
| Contains(string) | 确定样式名称是否包含在IStyleCollection 中。 |