Visit Mozilla.org

NPN RemoveProperty

From MDC


« Gecko Plugin API Reference « Scripting plugins

Contents

[edit] Summary

Removes a property from the specified NPObject.

[edit] Syntax

#include <npruntime.h>
 
bool NPN_RemoveProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName);

[edit] Parameters

The function has the following parameters:

npp
The NPP indicating which plugin instance is making the request.
npobj
The object on which a property is to be deleted.
propertyName
A string identifier indicating the name of the property to remove.

[edit] Returns

true if the property was removed successfully, otherwise false.