Method Remove
- Namespace
 - DotNetBrowser.Js
 
- Assembly
 - DotNetBrowser.dll
 
Remove(string)
Removes a property with the specified name from the JavaScript object.
Once you remove the property, it will not be available in the current JavaScript object anymore.
bool Remove(string name)
Parameters
namestringThe name of the property or function.
Returns
- bool
 trueif the property was successfully removed.
Exceptions
- ObjectDisposedException
 The IJsObject has already been disposed.
- ConnectionClosedException
 The connection to the Chromium engine is closed.
Remove(uint)
Removes a property with the specified index in the JavaScript object.
Once you remove the property, it will not be available in the current JavaScript object anymore.
bool Remove(uint index)
Parameters
indexuintThe index of the property or function.
Returns
- bool
 trueif the property was successfully removed.
Exceptions
- ObjectDisposedException
 The IJsObject has already been disposed.
- ConnectionClosedException
 The connection to the Chromium engine is closed.