mozilla

Revision 190770 of NPN_RemoveProperty

  • Revision slug: NPN_RemoveProperty
  • Revision title: NPN_RemoveProperty
  • Revision id: 190770
  • Created:
  • Creator: Jst
  • Is current revision? No
  • Comment /* Parameters */
Tags: 

Revision Content

Summary

Removes a property from the specified NPObject.

Syntax

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

Parameters

The function has the following parameters:

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

Returns

true if the property was removed successfully, otherwise false.

Revision Source

<p>
</p><p>
</p>
<h3 name="Summary">Summary</h3>
<p>Removes a property from the specified <code><a href="en/NPObject">NPObject</a></code>.
</p>
<h3 name="Syntax">Syntax</h3>
<pre>#include &lt;npruntime.h&gt;
 
bool NPN_RemoveProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName);
</pre>
<h3 name="Parameters">Parameters</h3>
<p>The function has the following parameters:
</p>
<dl><dt><tt>npp</tt>
</dt><dd>The <a href="en/NPP">NPP</a> indicating which plugin instance is making the request.
</dd><dt><tt>npobj</tt>
</dt><dd>The object on which a property is to be deleted.
</dd><dt><tt>propertyName</tt>
</dt><dd>A string identifier indicating the name of the property to remove.
</dd></dl>
<h3 name="Returns">Returns</h3>
<p><code>true</code> if the property was removed successfully, otherwise <code>false</code>.
</p>
Revert to this revision