VbaReferenceCollection

VbaReferenceCollection class

Represents a collection of a VBA Project references.

public class VbaReferenceCollection : IVbaReferenceCollection

Properties

Name Description
Count { get; } Gets the number of elements actually contained in the collection. Read-only Int32.
IsSynchronized { get; } Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only Boolean.
Item { get; } Gets the element at the specified index.
SyncRoot { get; } Returns a synchronization root. Read-only Object.

Methods

Name Description
Add(IVbaReference) Adds the new reference to references collection
CopyTo(Array, int) Copies all elements from the collection to the specified array.
GetEnumerator() Returns an enumerator that iterates through the collection.

See Also