-
Notifications
You must be signed in to change notification settings - Fork 1.2k
JsCreatePropertyId
Limin Zhu edited this page Aug 6, 2018
·
2 revisions
Creates the property ID associated with the name.
CHAKRA_API
JsCreatePropertyId(
_In_z_ const char *name,
_In_ size_t length,
_Out_ JsPropertyIdRef *propertyId);
- name: The name of the property ID to get or create. The string is expected to be ASCII / utf8 encoded. The name can be any JavaScript property identifier, including all digits.
- length: Length of the name in bytes
- propertyId: The property ID in this runtime for the given name
The code JsNoError if the operation succeeded, a failure code otherwise.
This API is experimental and may have breaking change later.
Requires an active script context.
Property IDs are specific to a context and cannot be used across contexts.
- Architecture Overview
- Building ChakraCore
- ChakraCore Code Structure
- Contributor Guidance
- Engineering Notes
- Embedding ChakraCore
- Testing ChakraCore
- Getting ChakraCore binaries
- Label Glossary
- Resources
- Roadmap / Release Notes
Want to contribute to this Wiki? Fork it and send a pull request!