Class ReferenceCollection
A collection of the vba projects references
Inherited Members
Namespace: DRIT.Spreadsheet.Vba
Assembly: DRIT.Spreadsheet.dll
Syntax
public class ReferenceCollection : IEnumerable<Reference>, IEnumerable
Properties
Count
Reports the number of items currently held by ReferenceCollection.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int | The count returned by the operation. |
this[int]
Provides indexed access to values in the ReferenceCollection.
Declaration
public Reference this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| Reference | The this returned by the operation. |
Methods
Add(Reference)
Adds a new reference
Declaration
public void Add(Reference Item)
Parameters
| Type | Name | Description |
|---|---|---|
| Reference | Item | The reference object |
GetEnumerator()
Retrieves the requested enumerator from the ReferenceCollection.
Declaration
public IEnumerator<Reference> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<Reference> | The get enumerator returned by the operation. |