CreateOleTypeLibReference

IVbaReferenceFactory.CreateOleTypeLibReference method

Creates new OLE Automation type library reference.

public IVbaReferenceOleTypeLib CreateOleTypeLibReference(string name, string libid)
ParameterTypeDescription
nameStringName of the VBA project reference String
libidStringIdentifier of an Automation type library String

Return Value

New OLE Automation type library reference IVbaReferenceOleTypeLib

See Also