Applies To
Reference object.
Description
The AddFromGUID method creates a Reference object based on the GUID that identifies a type library.
Syntax
object.AddFromGUID(guid)
The AddFromGUID method has the following arguments.
Argument
Description
object
A Reference object.
guid
A GUID that identifies a type library.
Remarks
The GUID property returns the GUID for a specified Reference object. If you've stored the value of the GUID property, you can use it to re-create a reference that's been broken.
See Also
AddFromFile method (References collection), GUID property, Major property, Minor property.