Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help


search: keywords: ['Java API', 'OClass', 'property', 'remove property', 'drop property', 'delete property', 'dropProperty']

OClass - dropProperty()

This method removes a property from the class.

Removing Properties

Occasionally, you may encounter situations where you need to rework class instances from within your application. Using this method you can remove properties from the OClass instance.

Syntax

void OClass().dropProperty(String name)
ArgumentTypeDescription
nameStringDefines the property name