Property this
- Namespace
- DotNetBrowser.Js.Collections
- Assembly
- DotNetBrowser.dll
this[uint]
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
.
object this[uint index] { get; set; }
Parameters
index
uintThe zero-based index of the element to get or set.
Property Value
- object
The element at the specified index. For the proxy objects, the corresponding injected .NET object is returned.
Remarks
If you pass a non-primitive .NET object to JavaScript, it will be converted into a "proxy" JavaScript object. Method and property calls to this object will be delegated to the .NET object.
Exceptions
- ObjectDisposedException
The IJsArray has already been disposed.