Programming with Reflection
RemoveReference method
Syntax object.RemoveReference FileName, [Options]
Removes a reference from the current settings file. (References can be added using AddReference, using the Reflection Add Reference dialog box, or using the Visual Basic Editor.) Save the settings file to make this change permanent.
This statement removes a reference that had been made to More Macros.rsf:
Session.RemoveReference "c:\Mypath\More Macros.rsf"
FileName Argument type: String
Required
The name of the settings file containing a project that is currently referenced. You can include complete path information.
Options Omit this argument; it is not currently used.