VbaReferenceCollection
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.slides.IVbaReferenceCollection
public class VbaReferenceCollection implements IVbaReferenceCollection
Represents a collection of a VBA Project references.
Methods
Method | Description |
---|---|
size() | Gets the number of elements actually contained in the collection. |
add(IVbaReference value) | Adds the new reference to references collection |
get_Item(int index) | Gets the element at the specified index. |
iterator() | Returns an enumerator that iterates through the collection. |
iteratorJava() | Returns a java iterator for the entire collection. |
copyTo(System.Array array, int index) | Copies all elements from the collection to the specified array. |
isSynchronized() | Returns a value indicating whether access to the collection is synchronized (thread-safe). |
getSyncRoot() | Returns a synchronization root. |
size()
public final int size()
Gets the number of elements actually contained in the collection. Read-only int.
Returns: int
add(IVbaReference value)
public final void add(IVbaReference value)
Adds the new reference to references collection
Parameters:
Parameter | Type | Description |
---|---|---|
value | IVbaReference |
get_Item(int index)
public final IVbaReference get_Item(int index)
Gets the element at the specified index.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int |
Returns: IVbaReference
iterator()
public final System.Collections.Generic.IGenericEnumerator<IVbaReference> iterator()
Returns an enumerator that iterates through the collection.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.IVbaReference> - A IGenericEnumerator that can be used to iterate through the collection.
iteratorJava()
public final System.Collections.Generic.IGenericEnumerator<IVbaReference> iteratorJava()
Returns a java iterator for the entire collection.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.IVbaReference> - An java.util.Iterator for the entire collection.
copyTo(System.Array array, int index)
public final void copyTo(System.Array array, int index)
Copies all elements from the collection to the specified array.
Parameters:
Parameter | Type | Description |
---|---|---|
array | com.aspose.ms.System.Array | Target array. |
index | int | Starting index in the target array. |
isSynchronized()
public final boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.
Returns: boolean
getSyncRoot()
public final Object getSyncRoot()
Returns a synchronization root. Read-only Object.
Returns: java.lang.Object