JsSetProperty() private method

private JsSetProperty ( IeJsValue obj, IeJsPropertyId propertyId, IeJsValue value, bool useStrictRules ) : JsErrorCode
obj IeJsValue
propertyId IeJsPropertyId
value IeJsValue
useStrictRules bool
return JsErrorCode
コード例 #1
0
 /// <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));
 }