# RENAME CLASS Directive

> Source: https://manual.pvxplus.com/pxplus-user-guide/object-oriented-pxplus/pxplus-oop-interface/rename-class-directive

**RENAME CLASS** *old_name$* **TO** *new_name*

The **RENAME CLASS** directive is used to alter the name of a previously defined class. This functionality allows the application designer to alter an existing object class easily, without having to change programs.

***Example:***

RENAME CLASS "*xxx*" TO "*yyy*" would auto-load the new class name *yyy* from the file *xxx.pvc* (if the definition does not already exist).

## See Also

**[RENAME CLASS Directive](https://manual.pvxplus.com/directives/rename-class)**
