JsPreventExtension() private method

private JsPreventExtension ( JavaScriptValue obj ) : JavaScriptErrorCode
obj JavaScriptValue
return JavaScriptErrorCode
 /// <summary>
 /// Sets an object to not be extensible.
 /// </summary>
 /// <remarks>
 /// Requires an active script context.
 /// </remarks>
 public void PreventExtension()
 {
     Native.ThrowIfError(Native.JsPreventExtension(this));
 }