VbaModuleCollection

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

NameTypeAccessDescription
countintReadReturns the number of VBA modules in the collection.

Methods

SignatureDescription
add(vbaModule: VbaModule)Adds a module to the collection.
get(index: int) → VbaModuleRetrieves a VbaModule object by index.
get(name: String) → VbaModuleRetrieves a VbaModule object by name, or Null if not found.
getCount() → intReturns the number of VBA modules in the collection.
remove(module: VbaModule)Removes the specified module from the collection.

See Also