IJsObject Interface |
Namespace: DotNetBrowser.Js
public interface IJsObject
The IJsObject type exposes the following members.
| Name | Description | |
|---|---|---|
| Frame |
Gets the IFrame instance this JavaScript object is bound to.
| |
| Properties |
Gets the object properties as a live collection.
Modifying this collection will lead to updating the object properties.
|
| Name | Description | |
|---|---|---|
| Invoke(String, Object) |
Executes the function with the given methodName and the args in the
JavaScript object. This method blocks current thread execution until the function finishes
its execution. If the function raises an exception, then JsException with an error
message that describes the reason of the exception will be thrown. Same error message will be
printed in JavaScript Console.
| |
| InvokeT(String, Object) |
Executes the function with the given methodName and the args in the
JavaScript object. This method blocks current thread execution until the function finishes
its execution. If the function raises an exception, then a JsException with an error
message that describes the reason of the exception will be thrown. Same error message will be
printed in JavaScript Console.
|
| Name | Description | |
|---|---|---|
| ToJsonString |
Converts the given JavaScript object into a JSON string.
(Defined by JsonExtensions.) |