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.
Namespace:
DotNetBrowser.Js.Collections
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.24.2
Syntax Object this[
uint index
] { get; set; }
Parameters
- index
- Type: SystemUInt32
The zero-based index of the element to get or set.
Property Value
Type:
Object
The element at the specified index.
For the proxy objects, the corresponding injected .NET object is returned.
Exceptions Exception | Condition |
---|
ObjectDisposedException |
The IJsArray has already been disposed.
|
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.
See Also