JsSetProperty() 개인적인 메소드

private JsSetProperty ( IeJsValue obj, IeJsPropertyId propertyId, IeJsValue value, bool useStrictRules ) : JsErrorCode
obj IeJsValue
propertyId IeJsPropertyId
value IeJsValue
useStrictRules bool
리턴 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));
 }