|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.VbaModuleCollection
public final class VbaModuleCollection
Represents a collection of a VBA Project modules.
Method Summary | |
---|---|
IVbaModule |
addEmptyModule(java.lang.String name)
Adds a new empty module to the VBA Project. |
void |
copyTo(IVbaModule[] array,
int index)
Copies all elements from the collection to the specified array. |
IVbaModule |
get_Item(int index)
Gets the element at the specified index. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IVbaModule> |
iterator()
Returns an enumerator that iterates through the collection. |
void |
remove(IVbaModule value)
Removes the first occurrence of a specific object from the collection. |
int |
size()
Gets the number of elements actually contained in the collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int size()
Gets the number of elements actually contained in the collection.
Read-only int
.
size
in interface IGenericCollection<IVbaModule>
public void remove(IVbaModule value)
Removes the first occurrence of a specific object from the collection.
remove
in interface IVbaModuleCollection
value
- The module to remove from the collection.public IVbaModule addEmptyModule(java.lang.String name)
Adds a new empty module to the VBA Project.
addEmptyModule
in interface IVbaModuleCollection
name
- Name of the module
public IVbaModule get_Item(int index)
Gets the element at the specified index.
get_Item
in interface IVbaModuleCollection
public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IVbaModule> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IVbaModule>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IVbaModule>
iterator
in interface java.lang.Iterable<IVbaModule>
T:System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public void copyTo(IVbaModule[] array, int index)
Copies all elements from the collection to the specified array.
copyTo
in interface IGenericCollection<IVbaModule>
array
- Target array.index
- Starting index in the target array.public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean
.
isSynchronized
in interface IGenericCollection<IVbaModule>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object
.
getSyncRoot
in interface IGenericCollection<IVbaModule>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |