Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> objpropertydelete()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ObjPropertyDelete()
------------------------------------------------------------------------------
 Purpose:
 Delete a property from an object.

 Syntax:
 bResult = ObjPropertyDelete(lpszObjectname,wObjectType,lpszPropertyName)

 Parameters:
 lpszObjectname   The name of the bindery object.
 wObjectType      The object type.
 lpszPropertyName The property name.

 Returns:
 A boolean value (TRUE or FALSE).

 The CA-Clipper name for this function is:
 ObjPrpDel()

 Description:
 ObjPropertyDelete() deletes a property specified by lpszPropertyName
 from an object specified by its name, lpszObjectname and type,
 wObjectType. In doing so it deletes all the values of the specified
 property.

 Returns TRUE if successful, or FALSE if an error occurs.

 Example:
 // To delete user JOHN's IDENTIFICATION property and its
 // associated values:
 if ( ObjPropertyDelete( "JOHN", 1, "IDENTIFICATION" ) )
    ? "User JOHN's IDENTIFICATION property has now been deleted"
 endif

 Notes:
 This function may require Supervisor equivalence, depending on the
 security level of the property.

See Also: ObjPropertyAdd() ObjPropertyList() ItmPropertyValueGet() / ItmPropertyValueSet() SetPropertyValueGet() / SetPropertyValueSet()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson