mozilla
您的搜索结果

    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.

    文档标签和贡献者

    标签: 
    此页面的贡献者有: aaashun, Sheppy, Jst
    最后编辑者: aaashun,