VbaReferenceCollection Class |
Namespace: Aspose.Tasks
The VbaReferenceCollection type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Count |
Gets the number of objects contained in the object.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | Item |
Returns the element at the specified index.
(Inherited from ReadOnlyCollectionBaseT.) |
Name | Description | |
---|---|---|
![]() | Add |
This is the stub implementation of ICollection's Add method, that only throws NotSupportedException
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() ![]() | GetEnumerator |
Returns an enumerator for this collection.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() ![]() | ToList |
Converts the collection object to a list of VbaModule objects.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | ToString | (Inherited from Object.) |
var project = new Project(DataDir + "VbaProject.mpp"); Console.WriteLine("Reference count " + project.VbaProject.References.Count); foreach (var reference in project.VbaProject.References) { Console.WriteLine("Identifier: " + reference.LibIdentifier); Console.WriteLine("Name: " + reference.Name); }