VbaModuleCollection
Overview
VbaModuleCollection is a class in Aspose.Words FOSS for Java.
Inherits from: Iterable<VbaModule>.
Represents a collection of VbaModule objects.
Edition status of its 5 listed members (a property and its accessor methods are listed separately, overloads once): 5 not yet exercised by a verified example.
This class declares 5 methods for VbaModuleCollection objects in Java programs.
Available methods include: add, get, getCount, remove.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Returns the number of VBA modules in the collection. |
Methods
| Signature | Description |
|---|---|
add(vbaModule: VbaModule) | Adds a module to the collection. |
get(index: int) → VbaModule | Retrieves a VbaModule object by index. |
get(name: String) → VbaModule | Retrieves a VbaModule object by name, or Null if not found. |
getCount() → int | Returns the number of VBA modules in the collection. |
remove(module: VbaModule) | Removes the specified module from the collection. |