Reference Object

Description

Represents a reference to a type library or a project.

Remarks

Use the Reference object to verify whether a reference is still valid.

The IsBroken property returns True if the reference no longer points to a valid reference. The BuiltIn property returns True if the reference is a default reference that can't be moved or removed. Use the Name property to determine if the reference you want to add or remove is the correct one.

Properties

BuiltIn property, Collection property, Description property, FullPath property, GUID property, IsBroken property, Major property, Minor property, Name property, Type property, VBE property.

See Also

AddFromFile method, AddFromGuid method, References collection.