public final class VbaModuleCollection
extends java.lang.Object
implements java.lang.Iterable
VbaModule objects.| Modifier and Type | Method and Description |
|---|---|
void |
add(VbaModule vbaModule)
Adds a module to the collection.
|
VbaModule |
get(int index)
Retrieves a
VbaModule object by index. |
VbaModule |
get(java.lang.String name)
Retrieves a
VbaModule object by name, or Null if not found. |
int |
getCount()
Returns the number of VBA modules in the collection.
|
java.util.Iterator |
iterator() |
void |
remove(VbaModule module)
Removes the specified module from the collection.
|
public final void add(VbaModule vbaModule)
public final VbaModule get(int index)
VbaModule object by index.index - Zero-based index of the module to retrieve.VbaModule value.public final VbaModule get(java.lang.String name)
VbaModule object by name, or Null if not found.VbaModule value.public final int getCount()
public final void remove(VbaModule module)
module - The module to remove.public final java.util.Iterator iterator()
iterator in interface java.lang.Iterable