Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Gets the script context that the object belongs to.
Syntax
STDAPI_(JsErrorCode) JsGetContextOfObject(
_In_ JsValueRef object,
_Out_ JsContextRef *context
);
Parameters
object
The object to get the context from.
context
The context the object belongs to.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Remarks
Requires an active script context.
Requirements
Header: jsrt.h