Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Determines whether an object has a property.
Syntax
STDAPI_(JsErrorCode) JsHasProperty(
_In_ JsValueRef object,
_In_ JsPropertyIdRef propertyId,
_Out_ bool *hasProperty
);
Parameters
object
The object that may contain the property.
propertyId
The ID of the property.
hasProperty
Whether the object (or a prototype) has the property.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Remarks
Requires an active script context.
Requirements
Header: jsrt.h