NPN_HasProperty

« Gecko Plugin API Reference « Scripting plugins

Summary

Determines whether or not the specified NPObject has a particular property.

Syntax

#include <npruntime.h>
bool NPN_HasProperty(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 to look for the property.
<tt>propertyName</tt>
A string identifier indicating the name of the property to look for.

Returns

true if the property exists on the specified object, otherwise false.

Document Tags and Contributors

Tags: 
 Contributors to this page: teoli, Sheppy, Jst
 Last updated by: teoli,