mozilla
您的搜索结果

    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.

    文档标签和贡献者

    标签: 
    Contributors to this page: Sheppy, Jst
    最后编辑者: Sheppy,