IVbaModuleCollection
IVbaModuleCollection 接口
表示 VBA 项目模块的集合。
public interface IVbaModuleCollection : IGenericCollection<IVbaModule>
属性
| 名称 | 描述 |
|---|---|
| Item { get; } | 获取指定索引处的元素。 |
方法
| 名称 | 描述 |
|---|---|
| AddEmptyModule(string) | 向 VBA 项目添加一个新的空模块。 |
| Remove(IVbaModule) | 从集合中移除特定对象的首次出现。 |