com.aspose.slides
Class VbaReferenceCollection

java.lang.Object
  extended by com.aspose.slides.VbaReferenceCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IVbaReference>, com.aspose.ms.System.Collections.IEnumerable<IVbaReference>, IGenericCollection<IVbaReference>, IVbaReferenceCollection, java.lang.Iterable<IVbaReference>

public class VbaReferenceCollection
extends java.lang.Object
implements IVbaReferenceCollection

Represents a collection of a VBA Project references.


Method Summary
 void add(IVbaReference value)
           Adds the new reference to references collection
 void copyTo(IVbaReference[] array, int index)
           Copies all elements from the collection to the specified array.
 IVbaReference 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<IVbaReference> iterator()
           Returns an enumerator that iterates through 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

size

public int size()

Gets the number of elements actually contained in the collection. Read-only int.

Specified by:
size in interface IGenericCollection<IVbaReference>

add

public void add(IVbaReference value)

Adds the new reference to references collection

Specified by:
add in interface IVbaReferenceCollection

get_Item

public IVbaReference get_Item(int index)

Gets the element at the specified index.

Specified by:
get_Item in interface IVbaReferenceCollection

iterator

public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IVbaReference> iterator()

Returns an enumerator that iterates through the collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IVbaReference>
Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<IVbaReference>
Specified by:
iterator in interface java.lang.Iterable<IVbaReference>
Returns:
A T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.

copyTo

public void copyTo(IVbaReference[] array,
                   int index)

Copies all elements from the collection to the specified array.

Specified by:
copyTo in interface IGenericCollection<IVbaReference>
Parameters:
array - Target array.
index - Starting index in the target array.

isSynchronized

public boolean isSynchronized()

Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Specified by:
isSynchronized in interface IGenericCollection<IVbaReference>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Read-only Object.

Specified by:
getSyncRoot in interface IGenericCollection<IVbaReference>


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.