JsPreventExtension() private method

private JsPreventExtension ( IeJsValue obj ) : JsErrorCode
obj IeJsValue
return JsErrorCode
Beispiel #1
0
 /// <summary>
 /// Sets a object to not be extensible
 /// </summary>
 /// <remarks>
 /// Requires an active script context.
 /// </remarks>
 public void PreventExtension()
 {
     IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsPreventExtension(this));
 }