You can remove classes from class libraries.
|When you remove a class from a class library, you delete the class.|
You can remove classes from class libraries using the Class Browser, the Project Manager when the class library is part of a project, or programmatically.
To remove a class from a class library
Open the class library in the Class Browser.
For more information about opening class libraries, see How to: Open Class Libraries.
In the class list of the Class Browser, right-click the class you want to remove, and choose Remove.
To remove a class from a project
Open the project containing the class library.
In the Project Manager, choose the Classes tab.
Expand the class library containing the class you want to remove.
Select the class you want to remove and choose Remove.
To remove classes from class libraries programmatically
Use the REMOVE CLASS command.
For example, the following line of code removes a class named MyClass from the class library named MyClassLibrary:
REMOVE CLASS MyClass OF MyClassLibrary.vcx
For more information, see REMOVE CLASS Command.