private JsSetProperty ( |
||
obj | ||
propertyId | IeJsPropertyId | |
value | ||
useStrictRules | bool | |
return | JsErrorCode |
/// <summary> /// Sets a object's property /// </summary> /// <remarks> /// Requires an active script context. /// </remarks> /// <param name="id">The ID of the property</param> /// <param name="value">The new value of the property</param> /// <param name="useStrictRules">The property set should follow strict mode rules</param> public void SetProperty(IeJsPropertyId id, IeJsValue value, bool useStrictRules) { IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsSetProperty(this, id, value, useStrictRules)); }