To delete a shared variable, right-click the shared variable in the Project Explorer window and select Remove from the shortcut menu.