MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See for all notifications.

Vos résultats de recherche


    Nos bénévoles n'ont pas encore traduit cet article en Français. Aidez-nous à réaliser cette tâche !

    « Gecko Plugin API Reference « Scripting plugins


    Gets the value of a property on the specified NPObject.


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


    The function has the following parameters:

    The NPP indicating which plugin instance's is making the request.
    The object from which a value is to be retrieved.
    A string identifier indicating the name of the property whose value is to be retrieved.
    On return, contains the value of the specified property.


    true if the value was retrieved successfully, otherwise false.

    Note: The caller must call NPN_ReleaseVariantValue() to release the returned value when it's no longer needed.

    Étiquettes et contributeurs liés au document

    Étiquettes : 
    Contributors to this page: Sheppy
    Dernière mise à jour par : Sheppy,