VbaProject.References

VbaProject.References property

Gets a collection of VbaReferenceCollection

public VbaReferenceCollection References { get; }

Examples

Shows how to read VBA project reference information.

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);
}

See Also