Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

NPN_HasMethod

« Gecko Plugin API Reference « Scripting plugins

Summary

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

Syntax

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

Parameters

The function has the following parameters:

npp
The NPP indicating which plugin instance is making the request.
npobj
The object on which to look for the method.
methodName
A string identifier indicating the name of the method to look for.

Returns

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

Document Tags and Contributors

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