AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry:     JS_DeleteUCProperty2 (Function)
Summary:     Removes a specified Unicode-encoded property from an object.
Syntax:
JSBool JS_DeleteUCProperty2(JSContext *cx, JSObject *obj,
const jschar *name, size_t namelen, jsval *rva);

     Argument     Type     Description
     cx     JSContext *     Pointer to a JS context from which to derive runtime information.
                 
     obj     JSObject *     Object from which to delete a property.
                 
     name     const jschar *     Name of the property to delete.
                 
     namelen     size_t     Length, in bytes, of the property name.
                 
     rval     jsval *     Pointer to the deleted value.
                 
Description:
JS_DeleteUCProperty2 removes a specified property, name, from an object, obj, and stores a pointer to the deleted property in rval. If rval is NULL, the property is deleted. namelen is the size, in bytes, of the property name to delete. If an object references a property belonging to a prototype, the property reference is removed from the object, but the prototype's property is not deleted. If deletion is successful, JS_DeleteUCProperty2 returns JS_TRUE. Otherwise it returns JS_FALSE.


See also:
JS_AliasProperty
JS_ClearScope
JS_DefineProperty
JS_DefinePropertyWithTinyId
JS_DefineUCProperty
JS_DefineUCPropertyWithTinyID
JS_DeleteProperty
JS_DeleteProperty2
JS_GetProperty
JS_GetUCProperty
JS_LookupProperty
JS_LookupUCProperty
JS_PropertyStub
JS_SetProperty
JS_SetUCProperty

[sh-index] Back to list of manuals