External Interfaces/API Reference    
deleteproperty (COM)

Remove custom property from COM object

Syntax

Arguments

h
   Handle for a COM object previously returned from actxcontrol, actxserver, get, or invoke.

propertyname
   A string specifying the name of the custom property to delete.

Description

Delete a property, propertyname, from the custom properties belonging to object or interface, h. You can only delete properties that have been created with addproperty.

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


  delete (COM) eventlisteners (COM)