Class ModuleCollection
Collection class for VBA modules
Inheritance
System.Object
ModuleCollection
Assembly: DRIT.Spreadsheet.dll
Syntax
public class ModuleCollection : IEnumerable<Module>
Properties
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Item[Int32]
Declaration
public Module this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Item[String]
Declaration
public Module this[string name] { get; }
Parameters
Type |
Name |
Description |
System.String |
name |
|
Property Value
Methods
AddClass(String, Boolean)
Declaration
public Module AddClass(string name, bool public)
Parameters
Type |
Name |
Description |
System.String |
name |
The name of the class
|
System.Boolean |
public |
Private or Public not createble
|
Returns
Type |
Description |
Module |
The class object
|
AddDocument(String, Boolean)
Declaration
public Module AddDocument(string name, bool public)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Boolean |
public |
|
Returns
AddModule(String)
Declaration
public Module AddModule(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
The name of the module
|
Returns
Type |
Description |
Module |
The module object
|
GetEnumerator()
Declaration
public IEnumerator<Module> GetEnumerator()
Returns
Type |
Description |
IEnumerator<Module> |
|