VbaProjectReferenceCollection.AddControlRefrernce

VbaProjectReferenceCollection.AddControlRefrernce method

Add a reference to a twiddled type library and its extended type library.

public int AddControlRefrernce(string name, string libid, string twiddledlibid, 
    string extendedLibid)
ParameterTypeDescription
nameStringThe name of reference.
libidStringThe identifier of an Automation type library.
twiddledlibidStringThe identifier of a twiddled type library
extendedLibidStringThe identifier of an extended type library

See Also