IJsArray Interface |
Namespace: DotNetBrowser.Js.Collections
public interface IJsArray : IJsObject, IAutoDisposable
The IJsArray type exposes the following members.
Name | Description | |
---|---|---|
Count |
Gets the number of elements contained in the IJsArray.
| |
Frame |
Gets the IFrame instance this JavaScript object is bound to.
(Inherited from IJsObject.) | |
IsDisposed |
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.) | |
Item |
Gets or sets the array element at the specified index.
If there is an existing element at the specified index, it will be replaced.
If the index exceeds the array size, the array will be extended and the elements
between the last inserted item and the index will be set to null.
| |
Properties |
Gets the object properties as a live collection.
Modifying this collection will lead to updating the object properties.
(Inherited from IJsObject.) |
Name | Description | |
---|---|---|
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.
(Inherited from IJsObject.) | |
InvokeAsync(String, Object) |
Asynchronously executes the function with the given methodName and the args
in the JavaScript object without blocking the current thread.
(Inherited from IJsObject.) | |
ToReadOnlyList |
Copies the contents of the IJsArray to a new IReadOnlyListT.
| |
ToReadOnlyListT |
Copies the contents of the IJsArray to a new IReadOnlyListT.
|
Name | Description | |
---|---|---|
Disposed |
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.) |
Name | Description | |
---|---|---|
ToJsonString |
Converts the given JavaScript object into a JSON string.
(Defined by JsonExtensions.) |