Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Sets the prototype of an object.
Syntax
STDAPI_(JsErrorCode) JsSetPrototype(
_In_ JsValueRef object,
_In_ JsValueRef prototypeObject
);
Parameters
object
The object whose prototype is to be changed.
prototypeObject
The object's new prototype.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Remarks
Requires an active script context.
Requirements
Header: jsrt.h