External Interfaces Reference Previous page   Next Page
deleteproperty

Remove custom property from object

Syntax

Description

h.deleteproperty('propertyname') deletes the property specified in the string propertyname from the custom properties belonging to object or interface, h.

deleteproperty(h, 'propertyname') is an alternate syntax for the same operation.

Examples

Create an mwsamp control and add a new property named Position to it. Assign an array value to the property:

Delete the custom Position property:

See Also

addproperty, get, set, inspect


Previous page  delete (COM) eventlisteners Next page

© 1994-2005 The MathWorks, Inc.