IJsObjectPropertyCollectionItem Property (String) |
Gets or sets a property with the specified name in the current JavaScript object.
The name parameter represents JavaScript object's property name.
Namespace:
DotNetBrowser.Js
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.12.0
Syntax Object this[
string name
] { get; set; }
Parameters
- name
- Type: SystemString
The name of the property. Cannot be null or empty.
Property Value
Type:
ObjectThe value associated with the specified name.
Exceptions Exception | Condition |
---|
ArgumentException | The name is null, empty, or contains only blank characters. |
ArgumentException |
The value is an IJsObject with
a different JavaScript context.
|
ObjectDisposedException | The IJsObject has already been disposed. |
ConnectionClosedException | The connection to the Chromium engine is closed. |
See Also