JavaScript Editor js editor     Web development 



Main Page

You can remove classes from class libraries.

Caution:
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

  1. Open the class library in the Class Browser.

    For more information about opening class libraries, see How to: Open Class Libraries.

  2. 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

  1. Open the project containing the class library.

  2. In the Project Manager, choose the Classes tab.

  3. Expand the class library containing the class you want to remove.

  4. 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:

В Copy Code
REMOVE CLASS MyClass OF MyClassLibrary.vcx

For more information, see REMOVE CLASS Command.

See Also



JavaScript Editor js editor     Web development